From bada209c1eb4a9c8f14b5200ab7ec24a0269839b Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Wed, 30 Oct 2024 14:31:06 +0100 Subject: [PATCH] minor fix of release workflow and add github release --- .github/workflows/release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 815c620..6cad2d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,3 +51,18 @@ jobs: name: linux-dist path: | dist/*.tar.gz + + release: + if: github.event_name != 'workflow_dispatch' + runs-on: ubuntu-latest + needs: [build-ubuntu-latest] + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: linux-dist + - uses: ncipollo/release-action@v1 + with: + artifacts: "amor*.tar.gz" + token: ${{ secrets.GITHUB_TOKEN }} + allowUpdates: true