minor fix of release workflow and add github release
Some checks failed
Release / build-ubuntu-latest (push) Failing after 2s
Release / release (push) Has been skipped

This commit is contained in:
2024-10-30 14:31:06 +01:00
parent d6f699e10c
commit bada209c1e

View File

@@ -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