Create release with assets from workflow

This commit is contained in:
Dmytro Bondar 2024-09-22 10:25:29 +02:00
parent a366f7681e
commit 6aabbdbfcc
No known key found for this signature in database
GPG Key ID: C123CD37BBED8BB7

View File

@ -100,3 +100,21 @@ jobs:
name: binaries
path: binaries/wg-portal_linux*
retention-days: 10
release:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: build-n-push
permissions:
contents: write
steps:
- name: Download binaries
uses: actions/download-artifact@v4
with:
name: binaries
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: 'wg-portal_linux*'
generate_release_notes: true