Github Actions: Upload artifacts to Github releases

This commit is contained in:
Philipp Wolfer
2019-11-25 22:42:05 +01:00
parent c43020973d
commit 69af7e326d
2 changed files with 14 additions and 0 deletions

View File

@@ -36,3 +36,10 @@ jobs:
with:
name: macos-builds
path: artifacts/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: artifacts/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -51,3 +51,10 @@ jobs:
with:
name: windows-builds
path: artifacts/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: artifacts/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}