File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Name of the action
2
+ name : Automatic Release
3
+
4
+ # Event to run on
5
+ on :
6
+ # Will run on every push in the "main" branch
7
+ push :
8
+ branches :
9
+ - main
10
+
11
+ permissions :
12
+ contents : write
13
+
14
+ # Jobs that will execute
15
+ jobs :
16
+ release :
17
+ name : Setup Environment, Build JAR and Release Project
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Automatic Release
21
+ uses : Fulminazzo/java-automatic-release@v1
22
+ with :
23
+ java-version : 8
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ REPOSITORY_NAME : ${{ github.event.repository.name }}
27
+ # Message specified in the commit
28
+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
29
+ - name : Publish Release
30
+ uses : gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
31
+ with :
32
+ arguments : publish
33
+ env :
34
+ REPO_USERNAME : ${{ secrets.FULMINAZZO_REPO_USERNAME }}
35
+ REPO_PASSWORD : ${{ secrets.FULMINAZZO_REPO_TOKEN }}
You can’t perform that action at this time.
0 commit comments