Add release artifact

This commit is contained in:
Grant 2025-03-16 17:19:57 -06:00
parent e89366ab61
commit 0bdfd9cb37

View File

@ -1,5 +1,6 @@
run-name: Build artifact for ${{gitea.ref_name}} by @${{ gitea.actor }} run-name: Build artifact for ${{gitea.ref_name}} by @${{ gitea.actor }}
on: on:
release:
push: push:
tags: tags:
- 'v*' - 'v*'
@ -41,3 +42,16 @@ jobs:
with: with:
name: ${{gitea.ref_name}} name: ${{gitea.ref_name}}
path: public/ 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}}'