Skip to content

Commit

Permalink
Don't try to use 'skip' as Git ref in Checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Aug 30, 2024
1 parent ae8f2d8 commit 3b1eda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-n-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
repository: 'spine-tools/${{ matrix.pkg }}'
path: ${{ matrix.pkg }}
ref: ${{ inputs[matrix.pkg] }}
ref: ${{ inputs[matrix.pkg] != 'skip' && inputs[matrix.pkg] || 'master' }}
- name: Ensure Git checkout is not dirty
run: cd ${{ matrix.pkg }} && git describe --tags --dirty | grep -vE '[-]dirty$'
- name: Ensure Git checkout does not have additional commits
Expand Down

0 comments on commit 3b1eda2

Please sign in to comment.