modify build-local to build for all 3 platforms #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' ) }} | |
# 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" |