Skip to content

Commit

Permalink
Fetch tags in case a package is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Aug 30, 2024
1 parent 3b1eda2 commit 98e581c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-n-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
repository: 'spine-tools/${{ matrix.pkg }}'
path: ${{ matrix.pkg }}
ref: ${{ inputs[matrix.pkg] != 'skip' && inputs[matrix.pkg] || 'master' }}
fetch-tags: ${{ inputs[matrix.pkg] == 'skip' }}
- 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 98e581c

Please sign in to comment.