Add release artifact
This commit is contained in:
parent
e89366ab61
commit
0bdfd9cb37
@ -1,5 +1,6 @@
|
||||
run-name: Build artifact for ${{gitea.ref_name}} by @${{ gitea.actor }}
|
||||
on:
|
||||
release:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
@ -41,3 +42,16 @@ jobs:
|
||||
with:
|
||||
name: ${{gitea.ref_name}}
|
||||
path: public/
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
steps:
|
||||
- name: Download workflow run artifact
|
||||
uses: actions/download-artifact@v3
|
||||
- name: release
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
${{gitea.ref_name}}
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user