From 855186313e1aa50a128b133882b08df63e8d35b0 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 27 Oct 2024 01:42:59 +0500 Subject: upd: github actions --- .github/workflows/release.yml | 42 ++---------------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) (limited to '.github') 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 -- cgit v1.2.3