ci: run the vpm scripts through bash
ci / Nix flake checks (push) Successful in 9s
release / Publish VPM release (push) Successful in 12s

The nix runner has no /usr/bin/env, so the '#!/usr/bin/env bash' shebang
cannot resolve; invoke the scripts as arguments to bash instead.
This commit is contained in:
2026-09-19 17:52:06 +01:00
parent e82f2b7de7
commit c4ed44e00b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
run: nix build .#aac --print-build-logs run: nix build .#aac --print-build-logs
- name: Package VPM zip - name: Package VPM zip
run: nix develop -c ./vpm/package.sh run: nix develop -c bash ./vpm/package.sh
- name: Build Unity bundle - name: Build Unity bundle
run: nix build .#default --print-build-logs run: nix build .#default --print-build-logs
+2 -2
View File
@@ -18,7 +18,7 @@ jobs:
run: nix build .#aac --print-build-logs run: nix build .#aac --print-build-logs
- name: Package VPM zip - name: Package VPM zip
run: nix develop -c ./vpm/package.sh run: nix develop -c bash ./vpm/package.sh
- name: Publish release and upload zip - name: Publish release and upload zip
env: env:
@@ -26,7 +26,7 @@ jobs:
SERVER: ${{ github.server_url }} SERVER: ${{ github.server_url }}
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
TAG: ${{ github.ref_name }} TAG: ${{ github.ref_name }}
run: nix develop -c ./vpm/publish.sh run: nix develop -c bash ./vpm/publish.sh
# The index carries the zip's sha256, which only exists after packaging. # The index carries the zip's sha256, which only exists after packaging.
- name: Commit updated VPM index - name: Commit updated VPM index