Skip to content

Commit

Permalink
Fetch all commits in case a package is skipped
Browse files Browse the repository at this point in the history
Otherwise, git describe will fail because we don't have tags.
  • Loading branch information
soininen committed Aug 30, 2024
1 parent 3b1eda2 commit 3af42e6
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-depth: ${{ inputs[matrix.pkg] != 'skip' && 1 || 0 }}
- 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 3af42e6

Please sign in to comment.