ci: run release only on tag

This commit is contained in:
Michel Roux 2024-01-11 09:04:15 +01:00
parent 34058626f0
commit fe8f591385
1 changed files with 1 additions and 1 deletions

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