Skip to content

modify build-local to build for all 3 platforms #6

modify build-local to build for all 3 platforms

modify build-local to build for all 3 platforms #6

Workflow file for this run

name: Build (Automatic)
on:
push:
branches:
- master
- beta
- release
jobs:
build-test:
if: always() # Temp testing
# if: github.ref == 'refs/heads/master' # Check the branch name
uses: ./.github/workflows/build-local.yml
secrets: inherit
with:
releaseChannel: "alpha"
build-local:
if: always() # Temp testing
# if: github.ref == 'refs/heads/master' # Check the branch name
uses: ./.github/workflows/build-local.yml
secrets: inherit
with:
#releaseChannel: "alpha"
releaseChannel: ${{ github.ref == 'refs/heads/release' && "release" || (github.ref == 'refs/heads/beta' && "beta" || "alpha" ) }}

Check failure on line 25 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build (Automatic)

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 25, Col: 29): Unexpected symbol: '"release"'. Located at position 40 within expression: github.ref == 'refs/heads/release' && "release" || (github.ref == 'refs/heads/beta' && "beta" || "alpha" )
# ENHANCE: It'd be nice if these jobs didn't show up
# build-beta:
# if: github.ref == 'refs/heads/beta' # Check the branch name
# uses: ./.github/workflows/build-local.yml
# secrets: inherit
# with:
# releaseChannel: "beta"
# build-release:
# if: github.ref == 'refs/heads/release' # Check the branch name
# uses: ./.github/workflows/build-local.yml
# secrets: inherit
# with:
# releaseChannel: "release"