mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-04 08:34:30 +02:00
ci(nix): correctly parse action env vars as bools
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
1a5a162727
commit
76bec385d6
6
.github/workflows/nix.yml
vendored
6
.github/workflows/nix.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
|||||||
|
|
||||||
# For PRs
|
# For PRs
|
||||||
- name: Setup Nix Magic Cache
|
- name: Setup Nix Magic Cache
|
||||||
if: ${{ env.USE_DETERMINATE }}
|
if: ${{ env.USE_DETERMINATE == 'true' }}
|
||||||
uses: DeterminateSystems/flakehub-cache-action@v1
|
uses: DeterminateSystems/flakehub-cache-action@v1
|
||||||
|
|
||||||
# For in-tree builds
|
# For in-tree builds
|
||||||
@ -87,14 +87,14 @@ jobs:
|
|||||||
nix flake check --print-build-logs --show-trace
|
nix flake check --print-build-logs --show-trace
|
||||||
|
|
||||||
- name: Build debug package
|
- name: Build debug package
|
||||||
if: ${{ env.DEBUG }}
|
if: ${{ env.DEBUG == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
nix build \
|
nix build \
|
||||||
--no-link --print-build-logs --print-out-paths \
|
--no-link --print-build-logs --print-out-paths \
|
||||||
.#prismlauncher-debug >> "$GITHUB_STEP_SUMMARY"
|
.#prismlauncher-debug >> "$GITHUB_STEP_SUMMARY"
|
||||||
|
|
||||||
- name: Build release package
|
- name: Build release package
|
||||||
if: ${{ !env.DEBUG }}
|
if: ${{ env.DEBUG == 'false' }}
|
||||||
run: |
|
run: |
|
||||||
nix build \
|
nix build \
|
||||||
--no-link --print-build-logs --print-out-paths \
|
--no-link --print-build-logs --print-out-paths \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user