refactor(devops): changed .github to .gitea
Build / test-and-build (scribblers-linux-x64, ubuntu-latest) (push) Has been cancelled
Build / test-and-build (scribblers-macos-x64, macos-latest) (push) Has been cancelled
Build / test-and-build (scribblers-x64.exe, windows-latest) (push) Has been cancelled
Hello World / hello (push) Has been cancelled

This commit is contained in:
2026-05-09 12:16:38 +03:30
parent ff300a5e84
commit c46b30e725
6 changed files with 8 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
name: Publish release
on:
workflow_run:
workflows: [Build]
branches: [v**]
types: [completed]
jobs:
publish-release:
runs-on: ubuntu-latest
# Kinda bad since it might release on any branch starting with v, but it'll do for now.
# Tag filtering in "on:" doesn't work, since the inital build trigger gets lost.
# github.ref is therefore also being reset to "refs/head/master".
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download linux artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: test-and-build.yml
name: scribblers-linux-x64
- name: Download macos artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: test-and-build.yml
name: scribblers-macos-x64
- name: Download windows artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: test-and-build.yml
name: scribblers-x64.exe
- name: Create release
uses: softprops/action-gh-release@v1
with:
name: ${{ github.event.workflow_run.head_branch }}
tag_name: ${{ github.event.workflow_run.head_branch }}
files: |
scribblers-linux-x64
scribblers-macos-x64
scribblers-x64.exe