Skip to content

Commit

Permalink
ci: auto-cancel out of date builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Feb 26, 2022
1 parent 9bd64ee commit beb5158
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ on:
workflow_dispatch:

jobs:
Build:
build:
strategy:
matrix:
os: [windows, macos, ubuntu]
jvm_version: [8, 11, 17]
distribution: [adopt]
concurrency:
group: ${{ github.workflow }}-build-${{ matrix.os }}-${{ matrix.jvm_version }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
runs-on: ${{ matrix.os }}-latest
env:
JAVA_VERSION: ${{ matrix.jvm_version }}
Expand Down

0 comments on commit beb5158

Please sign in to comment.