Files
germandndcompendium/.gitea/workflows/ release.yml
Yoshi c7e203362c
Some checks failed
release / release (push) Failing after 23s
.gitea/workflows/ release.yml aktualisiert
2025-02-25 23:46:03 +01:00

30 lines
636 B
YAML

name: release
on: push
# push:
# tags:
# - '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- run: |
mkdir release
shopt -s extglob
mv !(release) release
zip -r release.zip *
- name: Create Release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
release.zip
api_key: '${{secrets.RELEASE_TOKEN}}'