File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ tags :
8
+ - " v*"
9
+
10
+ jobs :
11
+ build :
12
+ name : Build Native Image
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ deploy : [
17
+ { os: macOS-13, name: jindo-x86_64-apple-darwin.zip },
18
+ { os: macOS-14, name: jindo-aarch64-apple-darwin.zip },
19
+ { os: ubuntu-22.04, name: jindo-x86_64-pc-linux.zip },
20
+ { os: ubuntu-24.04-arm, name: jindo-aarch64-pc-linux.zip },
21
+ { os: windows-2022, name: jindo-x86_64-pc-win32.zip }
22
+ ]
23
+ runs-on : ${{ matrix.deploy.os }}
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+ - uses : graalvm/setup-graalvm@v1
27
+ with :
28
+ java-version : ' 21'
29
+ distribution : ' graalvm'
30
+ github-token : ${{ secrets.GITHUB_TOKEN }}
31
+ native-image-job-reports : ' true'
32
+ - run : sbt graalvm-native-image:packageBin
33
+ - name : Upload Artifact
34
+ uses : actions/upload-artifact@v4
35
+ with :
36
+ name : ${{ matrix.deploy.asset_name }}
37
+ path : target/graalvm-native-image/${{ matrix.deploy.artifact_name }}
You can’t perform that action at this time.
0 commit comments