Update build.yml

change conditional build from master to main branch
This commit is contained in:
epi
2021-02-17 07:57:03 -06:00
committed by GitHub
parent 468ff8c3a9
commit cd085282ff

View File

@@ -5,7 +5,7 @@ on: [push]
jobs:
build-nix:
runs-on: ${{ matrix.os }}
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
strategy:
matrix:
type: [ubuntu-x64, ubuntu-x86]
@@ -73,7 +73,7 @@ jobs:
build-macos:
runs-on: macos-latest
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
@@ -103,7 +103,7 @@ jobs:
build-windows:
runs-on: ${{ matrix.os }}
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
strategy:
matrix:
type: [windows-x64, windows-x86]