Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
change conditional build from master to main branch
  • Loading branch information
epi052 authored Feb 17, 2021
1 parent 468ff8c commit cd08528
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit cd08528

Please sign in to comment.