Skip to content

Commit

Permalink
Add announce_only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jan 22, 2025
1 parent a89f6d5 commit 37568e6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish_snapshot_ports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@ on:
type: boolean
required: false
default: true
announce_only:
description: "Only announce, don't publish"
type: boolean
required: false
default: false


jobs:

wurst:
runs-on: ubuntu-latest
if: ${{ inputs.include_wurst }}
if: ${{ inputs.include_wurst && !inputs.announce_only }}
steps:
- name: Build Wurst publish inputs
id: wurst_inputs
Expand Down Expand Up @@ -71,7 +76,7 @@ jobs:

wi_zoom:
runs-on: ubuntu-latest
if: ${{ inputs.include_wi_zoom }}
if: ${{ inputs.include_wi_zoom && !inputs.announce_only }}
steps:
- name: Build WI Zoom publish inputs
id: wi_zoom_inputs
Expand Down Expand Up @@ -112,7 +117,7 @@ jobs:
# Can't have two mods updating the wimods.net website at the same time.
needs: wi_zoom
runs-on: ubuntu-latest
if: ${{ inputs.include_mo_glass }}
if: ${{ inputs.include_mo_glass && !inputs.announce_only }}
steps:
- name: Build Mo Glass publish inputs
id: mo_glass_inputs
Expand Down

0 comments on commit 37568e6

Please sign in to comment.