ci: run release only on tag
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 1m54s
repod / release (push) Successful in 3m13s

This commit is contained in:
Michel Roux 2024-01-11 09:04:15 +01:00
parent 34058626f0
commit fe8f591385

View File

@ -45,6 +45,7 @@ jobs:
- run: npm run build
release:
if: startsWith(gitea.ref, 'refs/tags')
runs-on: ubuntu-latest
container: nextcloud:26
steps:
@ -64,7 +65,6 @@ jobs:
- run: npm i -g npm@${{ steps.versions.outputs.npmVersion }}
- run: make dist
- uses: akkuman/gitea-release-action@v1
if: startsWith(gitea.ref, 'refs/tags')
with:
files: |
build/artifacts/RePod.tar.gz