Update build.yaml

This commit is contained in:
CaCO3
2024-10-07 00:19:47 +02:00
committed by GitHub
parent a46dfd1c23
commit 34796ed091

View File

@@ -290,7 +290,7 @@ jobs:
#########################################################################################
## Prepare and create release
#########################################################################################
release:
prepare-release:
runs-on: ubuntu-latest
needs: [pack-for-update, pack-for-manual_setup, pack-for-remote_setup]
if: startsWith(github.ref, 'refs/tags/')
@@ -391,13 +391,12 @@ jobs:
#########################################################################################
## Update Contriibutors List in readme
## Update Contributors List in README.md on a release
#########################################################################################
contrib-readme-job:
if: github.event_name == 'release' && github.event.action == 'published' # Only run on release but not on prerelease
needs: [release]
needs: [prepare-release]
runs-on: ubuntu-latest
name: A job to automate contrib in readme
permissions:
contents: write
pull-requests: write
@@ -418,7 +417,7 @@ jobs:
# Make sure to also update update-webinstaller.yml!
update-web-installer:
if: github.event_name == 'release' && github.event.action == 'published' # Only run on release but not on prerelease
needs: [release]
needs: [prepare-release]
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}