Update build.yaml

This commit is contained in:
CaCO3
2024-10-04 22:36:58 +02:00
committed by GitHub
parent 6cf1d5ad98
commit 97656114b6

View File

@@ -272,9 +272,6 @@ jobs:
## Prepare and create release ## Prepare and create release
######################################################################################### #########################################################################################
prepare-release: prepare-release:
on:
release:
types: [released]
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [pack-for-update, pack-for-manual_setup, pack-for-remote_setup] needs: [pack-for-update, pack-for-manual_setup, pack-for-remote_setup]
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
@@ -384,9 +381,7 @@ jobs:
######################################################################################### #########################################################################################
# Make sure to also update update-webinstaller.yml! # Make sure to also update update-webinstaller.yml!
update-web-installer: update-web-installer:
on: if: startsWith(github.ref, 'refs/tags/v') # Only run on a release
release:
types: [released]
needs: [prepare-release] needs: [prepare-release]
environment: environment:
name: github-pages name: github-pages