From 267be7d237a78a8b7bdee8e4b3584072c1a8e163 Mon Sep 17 00:00:00 2001 From: Hannes Kuchelmeister <13hannes11@users.noreply.github.com> Date: Tue, 22 Feb 2022 16:27:24 +0100 Subject: [PATCH] add publishing action --- .../workflows/{rust.yml => build_and_publish.yml} | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename .github/workflows/{rust.yml => build_and_publish.yml} (76%) diff --git a/.github/workflows/rust.yml b/.github/workflows/build_and_publish.yml similarity index 76% rename from .github/workflows/rust.yml rename to .github/workflows/build_and_publish.yml index 628c9cb..1bb428a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/build_and_publish.yml @@ -1,4 +1,4 @@ -name: Rust +name: Build and publish on: push: @@ -37,8 +37,13 @@ jobs: publish: needs: [build, build-windows] runs-on: ubuntu-latest - # if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v2 - - name: Display structure of downloaded files - run: ls + - uses: "marvinpinto/action-automatic-releases@v1.2.1" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + files: | + *.AppImage + *.zip