File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 26
26
# On main/release, we don't want any jobs cancelled
27
27
# On PR branches, we cancel the job if new commits are pushed
28
28
# More info: https://stackoverflow.com/a/70972844/1261287
29
- group : ${{ github.workflow }}-${{ github.github.ref }}-${{ matrix.java-version }}
29
+ group : ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}-${{ matrix.java-version }}
30
30
cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
31
31
32
32
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 19
19
# On main/release, we don't want any jobs cancelled
20
20
# On PR branches, we cancel the job if new commits are pushed
21
21
# More info: https://stackoverflow.com/a/70972844/1261287
22
- group : ${{ github.workflow }}-${{ github.github.ref }}-${{ matrix.java-version }}
22
+ group : ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}-${{ matrix.java-version }}-${{ matrix.sigstore-env }}
23
23
cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
24
24
25
25
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 19
19
# On main/release, we don't want any jobs cancelled
20
20
# On PR branches, we cancel the job if new commits are pushed
21
21
# More info: https://stackoverflow.com/a/70972844/1261287
22
- group : ${{ github.workflow }}-${{ github.github.ref }}-${{ matrix.java-version }}
22
+ group : ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}-${{ matrix.java-version }}
23
23
cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
24
24
25
25
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments