Add automatic CI to build artifacts #1

Merged
Matte23 merged 8 commits from feature/workflows into master 2024-07-09 20:43:42 +00:00
2 changed files with 16 additions and 23 deletions
Showing only changes of commit f1d241ee6a - Show all commits

View File

@@ -24,3 +24,19 @@ jobs:
with:
name: InnkeeperBot
path: ./InnkeeperBot
release:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v2
with:
name: InnkeeperBot
- name: Release artifact
id: use-go-action
uses: https://gitea.com/actions/release-action@main
with:
files: |-
InnkeeperBot
api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@@ -1,23 +0,0 @@
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}}'