Skip to content

Commit

Permalink
ci: test to find path
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilselby88 committed Nov 3, 2023
1 parent e8e7327 commit d1a2038
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/addingFile/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,21 @@ inputs:
runs:
using: 'composite'
steps:
- name: Checkout scaffolder repo
uses: actions/checkout@v4
- name: Check file or folder exists
run: |
${{ github.action_path }}/lintInput.sh ${{ inputs.files }}
shell: bash
- name: Checkout target repository
uses: actions/checkout@v4
with:
repository: ${{ inputs.repository }}
ref: main
fetch-depth: 0
token: ${{ inputs.token }}
- name: Check file or folder exists
run: |
${{ github.action_path }}/lintInput.sh ${{ inputs.files }}
shell: bash
- name: Checkout scaffolder repo
uses: actions/checkout@v4
with:
path: scaffolder
- name: Configure git
run: |
git config user.name 'Github Action'
Expand All @@ -55,10 +57,6 @@ runs:
- name: Checkout branch and copy over files
run: |
git checkout -b ${{ inputs.branch-name }}
cd .
ls
cp -R /home/runner/work/repo-scaffolder/${{ inputs.files }} /home/runner/work/${{ inputs.repository }}/
cd /home/runner/work/${{ inputs.repository }}/
ls
shell: bash
- name: Add to git
Expand Down

0 comments on commit d1a2038

Please sign in to comment.