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 ++---------------------------------------- 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 diff --git a/README.md b/README.md index 57cbda0..d1c1d2a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # ![Maxon Petting Simulator Open Source](logo.png) The cutest 3D clicker game you've ever seen, written in Java and LibGDX. -![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ilotterytea/maxon/release.yml?style=plastic) +[![Build for desktop](https://github.com/ilotterytea/maxon/actions/workflows/release.yml/badge.svg)](https://github.com/ilotterytea/maxon/actions/workflows/release.yml) ## Building -- cgit v1.2.3