feat(ci): auto-release on push
This commit is contained in:
parent
cdaf88b6fe
commit
022e94a287
21
.gitea/workflows/release.yml
Normal file
21
.gitea/workflows/release.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Release
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create_release:
|
||||||
|
name: Create Release
|
||||||
|
needs: test
|
||||||
|
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main
|
||||||
|
secrets:
|
||||||
|
ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
|
|
||||||
|
print_release:
|
||||||
|
name: Print Release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: create_release
|
||||||
|
steps:
|
||||||
|
- run: echo "Created release ${{ needs.create_release.outputs.release_name }}."
|
Loading…
x
Reference in New Issue
Block a user