ci: run release only on tag
This commit is contained in:
parent
34058626f0
commit
fe8f591385
@ -45,6 +45,7 @@ jobs:
|
|||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
if: startsWith(gitea.ref, 'refs/tags')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: nextcloud:26
|
container: nextcloud:26
|
||||||
steps:
|
steps:
|
||||||
@ -64,7 +65,6 @@ jobs:
|
|||||||
- run: npm i -g npm@${{ steps.versions.outputs.npmVersion }}
|
- run: npm i -g npm@${{ steps.versions.outputs.npmVersion }}
|
||||||
- run: make dist
|
- run: make dist
|
||||||
- uses: akkuman/gitea-release-action@v1
|
- uses: akkuman/gitea-release-action@v1
|
||||||
if: startsWith(gitea.ref, 'refs/tags')
|
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
build/artifacts/RePod.tar.gz
|
build/artifacts/RePod.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user