Skip to content

Commit

Permalink
fix(ci): remove ref from hash and chunk str from concurrency group
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed May 27, 2024
1 parent 85d520a commit 09014c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ jobs:
- name: Calculate CHUNK_HASH
id: calculate-chunk-hash
run: |
chunk_hash=$(cksum <<< "${{ github.ref }}-${{ matrix.chunk }}-${{ github.run_id }}-${{ github.run_attempt }}" | cut -f 1 -d ' ')
chunk_hash=$(cksum <<< "${{ matrix.chunk }}-${{ github.run_id }}-${{ github.run_attempt }}" | cut -f 1 -d ' ')
echo "::set-output name=chunk_hash::$chunk_hash"
build-chunk:
runs-on: ubuntu-latest
needs: calculate-chunk-hash
concurrency:
group: ${{ github.ref }}-${{ matrix.chunk }}-${{ needs.calculate-chunk-hash.outputs.chunk_hash }}
group: ${{ github.ref }}-${{ needs.calculate-chunk-hash.outputs.chunk_hash }}
cancel-in-progress: true
strategy:
matrix:
Expand Down

0 comments on commit 09014c3

Please sign in to comment.