summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-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