mirror of
https://github.com/h44z/wg-portal
synced 2025-06-26 18:16:21 +00:00
Create release with assets from workflow
This commit is contained in:
parent
a366f7681e
commit
6aabbdbfcc
18
.github/workflows/docker-publish.yml
vendored
18
.github/workflows/docker-publish.yml
vendored
@ -100,3 +100,21 @@ jobs:
|
|||||||
name: binaries
|
name: binaries
|
||||||
path: binaries/wg-portal_linux*
|
path: binaries/wg-portal_linux*
|
||||||
retention-days: 10
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user