File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111permissions :
1212 contents : read # to fetch code (actions/checkout)
1313
14+ # Cancel in-progress runs for pull requests, but not for master branch pushes
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+ cancel-in-progress : true
18+
1419jobs :
1520 test :
16- permissions :
17- actions : write # to cancel/stop running workflows (styfle/cancel-workflow-action)
18- contents : read # to fetch code (actions/checkout)
19-
2021 name : " JDK ${{ matrix.java }} on ${{ matrix.os }}"
2122 strategy :
2223 fail-fast : false
4647 runs-on : ${{ matrix.os }}
4748 continue-on-error : ${{ matrix.experimental }}
4849 steps :
49- - name : Cancel previous
50- uses : styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
51- with :
52- access_token : ${{ github.token }}
5350 - name : ' Check out repository'
5451 uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
5552 with :
You can’t perform that action at this time.
0 commit comments