summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-10-27 01:42:59 +0500
committerilotterytea <iltsu@alright.party>2024-10-27 01:42:59 +0500
commit855186313e1aa50a128b133882b08df63e8d35b0 (patch)
tree069f1283e87aaa26dbbaf22882137b89c6f4a3ad /.github/workflows
parentfb5e3a199d9d43a66e9c24b74112338d39e46fb0 (diff)
upd: github actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml42
1 files changed, 2 insertions, 40 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 68cdd40..b693359 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,4 +1,4 @@
-name: Build the game and save as draft release.
+name: Build for desktop
on:
push:
@@ -24,42 +24,4 @@ jobs:
run: chmod +x gradlew
- name: Build for desktop
- run: ./gradlew desktop:dist
-
- - name: Upload the desktop game
- uses: actions/upload-artifact@v2
- with:
- name: deskjars
- path: desktop/build/libs/maxon.jar
-
- release:
- needs: [ build ]
- runs-on: ubuntu-latest
-
- steps:
- - name: Download artifact
- uses: actions/download-artifact@v2
-
- - name: Create release
- id: create_release
- uses: actions/create-release@v1
-
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- with:
- tag_name: ${{ github.ref }}
- release_name: ${{ github.ref}}
- draft: true
- prerelease: false
-
- - name: Upload JAR release
- uses: actions/upload-release-asset@v1
-
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ steps.create_release.outputs.upload_url }}
- asset_path: deskjars/maxon.jar
- asset_name: maxon.jar
- asset_content_type: application/x-java-archive \ No newline at end of file
+ run: ./gradlew desktop:dist \ No newline at end of file