1 parent 7fd1ef2 commit 99dfc3bCopy full SHA for 99dfc3b
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,38 @@
1
+name: Create Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+ - '[0-9]*'
8
9
+jobs:
10
+ build:
11
+ runs-on: windows-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up JDK 17
16
+ uses: actions/setup-java@v4
17
+ with:
18
+ java-version: '17'
19
+ distribution: 'temurin'
20
+ cache: maven
21
22
+ - name: Build native DLL
23
+ run: echo. | .\compile.bat
24
25
+ - name: Build JAR
26
+ run: mvn -B package -DskipTests -Dmaven.javadoc.skip=true
27
28
+ - name: Upload Release Assets
29
+ uses: softprops/action-gh-release@v2
30
31
+ files: |
32
+ target/*.jar
33
+ build/*.dll
34
+ name: Release ${{ github.ref_name }}
35
+ draft: false
36
+ prerelease: false
37
+ env:
38
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments