From 799d06551678093bf831f2d9eee780b59276926c Mon Sep 17 00:00:00 2001 From: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Date: Wed, 11 Jan 2023 17:35:51 +0000 Subject: Update main.yml --- .github/workflows/main.yml | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 345c05d..01080ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,17 +1,25 @@ -name: Main +name: "tagged-release" -on: push +on: + push: + tags: + - "v*" jobs: - build: - runs-on: ubuntu-latest + tagged-release: + name: "Tagged Release" + runs-on: "ubuntu-latest" + steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Release - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') + # ... + - name: "Build & test" + run: | + echo "done!" + + - uses: "marvinpinto/action-automatic-releases@latest" with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false files: | - ${{ github.workspace }}/gui/decky_installer.desktop - ${{ github.workspace }}/gui/user_install_script.sh + LICENSE.txt + *.jar -- cgit v1.2.3