Skip to content

Commit

Permalink
Skip Git checks if we are skipping a package
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Aug 30, 2024
1 parent 3b1eda2 commit e0d74b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-n-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ jobs:
path: ${{ matrix.pkg }}
ref: ${{ inputs[matrix.pkg] != 'skip' && inputs[matrix.pkg] || 'master' }}
- name: Ensure Git checkout is not dirty
if: ${{ inputs[matrix.pkg] != 'skip' }}
run: cd ${{ matrix.pkg }} && git describe --tags --dirty | grep -vE '[-]dirty$'
- name: Ensure Git checkout does not have additional commits
if: ${{ inputs[matrix.pkg] != 'skip' }}
run: cd ${{ matrix.pkg }} && git describe --tags | grep -vE '[-]g[a-z0-9]{8}$'
- name: Set up Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit e0d74b6

Please sign in to comment.