Add Gitea Actions workflow (from GitHub)
Some checks failed
Build package / test-and-build (push) Failing after 2m9s
Some checks failed
Build package / test-and-build (push) Failing after 2m9s
This commit is contained in:
22
.gitea/workflows/release-created.yml
Normal file
22
.gitea/workflows/release-created.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
name: Add package to release
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
add-deb-to-release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: dawidd6/action-download-artifact@v2
|
||||||
|
with:
|
||||||
|
workflow: build.yml
|
||||||
|
commit: ${{ github.sha }}
|
||||||
|
|
||||||
|
- name: Upload release artifact
|
||||||
|
uses: fnkr/github-action-ghr@v1
|
||||||
|
env:
|
||||||
|
GHR_PATH: deb
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user