ci: use eine/tip to release artifacts

This commit is contained in:
umarcor 2021-07-17 19:46:56 +02:00
parent 0efe8313f3
commit 07570f003e
1 changed files with 21 additions and 0 deletions

View File

@ -194,3 +194,24 @@ jobs:
run: | run: |
openFPGALoader --help openFPGALoader --help
openFPGALoader --detect || true openFPGALoader --detect || true
Release:
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/'))
needs: [ lin-test, win-test ]
runs-on: ubuntu-latest
name: '📦 Release'
steps:
- name: '📥 Download artifacts'
uses: actions/download-artifact@v2
with:
path: artifact
# Tagged: create a pre-release or a release (semver)
# Untagged: update the assets of pre-release 'nightly'
- uses: eine/tip@master
with:
token: ${{ github.token }}
tag: 'nightly'
files: artifact/**/*