ci: better ref tag
All checks were successful
repod / xml (push) Successful in 31s
repod / php (push) Successful in 1m19s
repod / nodejs (push) Successful in 2m3s
repod / release (push) Successful in 2m53s

This commit is contained in:
Michel Roux 2024-01-15 18:07:37 +01:00
parent 1b1aac6f3d
commit 314b2c449c

View File

@ -45,7 +45,7 @@ jobs:
- run: npm run build - run: npm run build
release: release:
if: startsWith(gitea.ref, 'refs/tags') if: gitea.ref_type == 'tag'
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: nextcloud:28 container: nextcloud:28
steps: steps:
@ -67,4 +67,4 @@ jobs:
- uses: akkuman/gitea-release-action@v1 - uses: akkuman/gitea-release-action@v1
with: with:
files: | files: |
build/artifacts/RePod.tar.gz build/artifacts/repod.tar.gz