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 : Build + Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch : # manual trigger
8
+
9
+ jobs :
10
+ build-release :
11
+ permissions :
12
+ contents : write # allow to create a release
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
18
+ - name : Setup Java
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ distribution : ' temurin'
22
+ java-version : 17
23
+ - name : Setup Gradle
24
+ uses : gradle/actions/setup-gradle@v3
25
+ - name : Build with Gradle
26
+ run : ./gradlew build
27
+ - name : Release
28
+ uses : " marvinpinto/action-automatic-releases@latest"
29
+ with :
30
+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
31
+ # automatic_release_tag: "${{ steps.date.outputs.NOW }}"
32
+ automatic_release_tag : " latest"
33
+ draft : false
34
+ prerelease : false
35
+ title : " org.dynapi.squirtle"
36
+ files : |
37
+ build/libs/*
You can’t perform that action at this time.
0 commit comments