diff options
| author | ilotterytea <iltsu@alright.party> | 2024-10-27 01:42:59 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-10-27 01:42:59 +0500 |
| commit | 855186313e1aa50a128b133882b08df63e8d35b0 (patch) | |
| tree | 069f1283e87aaa26dbbaf22882137b89c6f4a3ad | |
| parent | fb5e3a199d9d43a66e9c24b74112338d39e46fb0 (diff) | |
upd: github actions
| -rw-r--r-- | .github/workflows/release.yml | 42 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 3 insertions, 41 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 @@ -2,7 +2,7 @@ #  The cutest 3D clicker game you've ever seen, written in Java and LibGDX. - +[](https://github.com/ilotterytea/maxon/actions/workflows/release.yml) ## Building |
