Skip to content

Commit

Permalink
Change GH Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotjarnit committed Jan 22, 2024
1 parent 1a0c026 commit 8e28e7e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,20 @@ jobs:
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
- name: Build Game with Gradle
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_USERNAME: ${{ secrets.GH_USERNAME }}
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build
- name: Rename jar
run: mv build/libs/elliotchess-all.jar staging/ElliotChess.jar
- name: Upload to Github Releases
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "staging/ElliotChess.jar"
update_latest_release: true
overwrite: true

0 comments on commit 8e28e7e

Please sign in to comment.