We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4882f48 commit 161a2c6Copy full SHA for 161a2c6
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,33 @@
1
+name: Build and publish
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
7
+jobs:
8
+ build-and-test:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v3
13
14
+ - name: Set up JDK
15
+ uses: actions/setup-java@v3
16
+ with:
17
+ java-version: '11'
18
+ distribution: 'adopt'
19
+ architecture: x64
20
21
+ - name: Grant execute permission for gradlew
22
+ run: chmod +x gradlew
23
24
+ - name: Build and test
25
+ run: ./gradlew check build
26
27
+ - name: Release
28
+ uses: softprops/action-gh-release@v2
29
+ if: startsWith(github.ref, 'refs/tags/')
30
31
+ files: |
32
+ ./decoder/build/libs/java-midi-decoder-*.jar
33
+ ./app/build/libs/app.jar
0 commit comments