ci: run the vpm scripts through bash
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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user