Add scripthaus to path for Build Helper workflow (#458)

This commit is contained in:
Evan Simkowitz 2024-03-14 12:23:35 -07:00 committed by GitHub
parent 3f7c48a9ae
commit c546464751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,6 +41,7 @@ jobs:
cd scripthaus; cd scripthaus;
go get ./...; go get ./...;
CGO_ENABLED=1 go build -o scripthaus cmd/main.go CGO_ENABLED=1 go build -o scripthaus cmd/main.go
echo $PWD >> $GITHUB_PATH
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: ${{env.NODE_VERSION}} node-version: ${{env.NODE_VERSION}}
@ -53,7 +54,7 @@ jobs:
- name: Install Yarn Dependencies - name: Install Yarn Dependencies
run: yarn --frozen-lockfile run: yarn --frozen-lockfile
- name: Build ${{ matrix.platform }}/${{ matrix.arch }} - name: Build ${{ matrix.platform }}/${{ matrix.arch }}
run: ./scripthaus/scripthaus run ${{ matrix.scripthaus }} run: scripthaus run ${{ matrix.scripthaus }}
env: env:
GOARCH: ${{ matrix.arch }} GOARCH: ${{ matrix.arch }}
CSC_LINK: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_CERTIFICATE}} CSC_LINK: ${{ matrix.platform == 'darwin' && secrets.PROD_MACOS_CERTIFICATE}}