File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release on demand
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ releaseVersion :
7+ description : " Version to release"
8+ required : true
9+ snapshotVersion :
10+ description : " Snapshot version after release"
11+ required : true
12+
13+ jobs :
14+ call-release :
15+ uses : clojure/build.ci/.github/workflows/release.yml@master
16+ with :
17+ releaseVersion : ${{ github.event.inputs.releaseVersion }}
18+ snapshotVersion : ${{ github.event.inputs.snapshotVersion }}
19+ secrets : inherit
Original file line number Diff line number Diff line change 1+ name : Snapshot on demand
2+
3+ on : [workflow_dispatch]
4+
5+ jobs :
6+ call-snapshot :
7+ uses : clojure/build.ci/.github/workflows/snapshot.yml@master
8+ secrets : inherit
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on : [push]
4+
5+ jobs :
6+ test :
7+ strategy :
8+ matrix :
9+ os : [ubuntu-latest] # macOS-latest, windows-latest]
10+ java-version : ["8", "11", "17"]
11+ distribution : ["temurin", "oracle", "corretto"]
12+ profile : ["test-direct", "test-no-direct"]
13+ runs-on : ${{ matrix.os }}
14+ steps :
15+ - uses : actions/checkout@v3
16+ - name : Set up Java
17+ uses : actions/setup-java@v3
18+ with :
19+ java-version : ${{ matrix.java-version }}
20+ distribution : ${{ matrix.distribution }}
21+ cache : ' maven'
22+ - name : Build with Maven
23+ run : mvn -ntp -B -P${{ matrix.profile }} clean test
You can’t perform that action at this time.
0 commit comments