Skip to content

Commit 31206b9

Browse files
rosslovasOctobob
authored andcommitted
Re-enable pushing nightly builds to Octopus
skip-release-and-release-note: true GitOrigin-RevId: c9f1b74ab2098619855f1ae16c0e16aaf8caf1ca
1 parent 2e974b7 commit 31206b9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,11 @@ jobs:
163163
deploy_nuget:
164164
name: Upload nuget packages to Octopus Deploy and create release if required
165165
runs-on: ubuntu-latest
166-
if: ${{ needs.build.outputs.skip-release-and-release-note == 'false' }}
166+
if: >- # Only run if we want a release or if it's a nightly build (nightly pushes to Octopus to exercise the pipeline, but no actual release gets created)
167+
${{
168+
needs.build.outputs.skip-release-and-release-note == 'false' ||
169+
github.event_name == 'schedule'
170+
}}
167171
permissions:
168172
id-token: write # Required to obtain the ID token from GitHub Actions
169173
actions: read # Required to download artifact

0 commit comments

Comments
 (0)