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+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Publish Tagged Release
4+
5+ # Controls when the action will run.
6+ on :
7+ push :
8+ tags :
9+ - " v*"
10+
11+ # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch :
13+
14+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+ jobs :
16+ # This workflow contains a single job called "build"
17+ build :
18+ # The type of runner that the job will run on
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - uses : actions/checkout@v2
23+ - uses : ayltai/setup-graalvm@v1
24+ with :
25+ java-version : 11
26+ graalvm-version : 21.0.0.2
27+ native-image : true
28+ - name : Grant execute permission for gradlew
29+ run : chmod +x gradlew
30+ - name : Build with Gradle
31+ run : ./gradlew assemble --info
32+ - name : Build Native Image
33+ run : |
34+ java -version
35+ native-image -cp "build/layers/libs/*.jar:build/layers/resources/*:build/layers/application.jar" com.github.ottx96.Entrypoint
36+ find . -ls
37+ mv com.github.ottx96.entrypoint diffview-linux-amd64
38+ - uses : " marvinpinto/action-automatic-releases@latest"
39+ with :
40+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
41+ prerelease : false
42+ files : |
43+ diffview-linux-amd64
You can’t perform that action at this time.
0 commit comments