Skip release jobs on non-release changes

This commit is contained in:
CaCO3
2024-10-04 22:20:38 +02:00
committed by GitHub
parent bb69929247
commit fed729bcee

View File

@@ -272,6 +272,9 @@ jobs:
## Prepare and create release ## Prepare and create release
######################################################################################### #########################################################################################
release: 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/')
@@ -381,6 +384,9 @@ jobs:
######################################################################################### #########################################################################################
# Make sure to also update update-webinstaller.yml! # Make sure to also update update-webinstaller.yml!
update-web-installer: update-web-installer:
on:
release:
types: [released]
needs: [release] needs: [release]
environment: environment:
name: github-pages name: github-pages