workflows: Add release workflow
All checks were successful
Build artifact / build (push) Successful in 18s
All checks were successful
Build artifact / build (push) Successful in 18s
This commit is contained in:
@@ -23,4 +23,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: InnkeeperBot
|
||||
path: ./InnkeeperBot
|
||||
path: ./InnkeeperBot
|
||||
|
||||
23
.gitea/workflows/release.yaml
Normal file
23
.gitea/workflows/release.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Release and publish
|
||||
run-name: Release from ${{ gitea.actor }} 🚀
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Build artifact"]
|
||||
#branches: [main]
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: InnkeeperBot
|
||||
- name: Use Go Action
|
||||
id: use-go-action
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
InnkeeperBot
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
Reference in New Issue
Block a user