mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
ci(nightly): run the version step in bash on Windows
The Windows build job defaults to PowerShell, where the bash-style
"${NIGHTLY_VERSION}" expands to an empty string and the version script
rejects it, failing the master build before any artifact exists.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f7973a9fb
commit
0b57b4bdc6
1 file changed
+3
@@ -495,6 +495,9 @@ jobs:
|
||||
# comes from the nightly-version job so every job of this run
|
||||
# builds the same version.
|
||||
if: needs.nightly-version.outputs.version != ''
|
||||
# Windows runners default to PowerShell, where "${NIGHTLY_VERSION}"
|
||||
# expands to nothing and the script rejects the empty version.
|
||||
shell: bash
|
||||
env:
|
||||
NIGHTLY_VERSION: ${{ needs.nightly-version.outputs.version }}
|
||||
run: node tools/release/nightly-version.mjs --apply --version "${NIGHTLY_VERSION}"
|
||||
|
||||
Reference in new issue
Block a user