File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Development Build
2+ on :
3+ push :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ permissions : write-all
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout Repository
12+ uses : actions/checkout@v4
13+ - name : Set up Java
14+ uses : actions/setup-java@v4
15+ with :
16+ java-version : 21
17+ distribution : adopt
18+ - name : Build with Gradle
19+ run : ./gradlew build
20+ - name : grab release tag
21+ id : branch_tag
22+ run : |
23+ echo "tag=$(echo v${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
24+ - name : Release
25+ uses : marvinpinto/action-automatic-releases@latest
26+ with :
27+ repo_token : ' ${{ secrets.GITHUB_TOKEN }}'
28+ automatic_release_tag : ' ${{ env.tag }}'
29+ prerelease : true
30+ title : ' Dev Build for ${{ env.tag }}'
31+ files : |
32+ ./build/libs/*.jar
You can’t perform that action at this time.
0 commit comments