chore: rename master -> main in CI and scripts (#246)

Thanks for contributing to FOSS4G!
This commit is contained in:
Ian Saultz
2022-03-07 14:40:06 -05:00
committed by GitHub
parent e1cd6f829f
commit ea234edf67
28 changed files with 46 additions and 46 deletions

View File

@@ -4,7 +4,7 @@ on:
workflow_dispatch:
pull_request:
branches:
- master
- main
paths-ignore:
- "platform/ios/**"
- "platform/qt/**"

View File

@@ -13,7 +13,7 @@ on:
- ".gitignore"
pull_request:
branches:
- master
- main
paths-ignore:
- "platform/android/**"
- "platform/qt/**"

View File

@@ -12,10 +12,10 @@ on:
- "README.md"
- ".gitignore"
branches:
- master
- main
pull_request:
branches:
- master
- main
paths-ignore:
- "platform/android/**"
- "platform/qt/**"

View File

@@ -11,10 +11,10 @@ on:
- "platform/qt/**"
- ".gitignore"
branches:
- master
- main
pull_request:
branches:
- master
- main
paths-ignore:
- "platform/android/**"
- "platform/ios/**"
@@ -31,7 +31,7 @@ jobs:
- ubuntu-18.04
runs-on: ${{ matrix.os }}
env:
BUILDTYPE: ${{github.ref == 'refs/heads/master' && 'Release' || 'Debug'}}
BUILDTYPE: ${{github.ref == 'refs/heads/main' && 'Release' || 'Debug'}}
defaults:
run:
@@ -127,13 +127,13 @@ jobs:
# On PRs make sure that the npm package can be packaged.
- name: Pack
if: github.ref != 'refs/heads/master'
if: github.ref != 'refs/heads/main'
run: |
npm pack --dry-run
# Uncomment to start publishing the package
# @TODO: Figure out the binary distribution method.
# - name: Publish package
# if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/main'
# run: |
# npm publish

View File

@@ -15,7 +15,7 @@ on:
- ".gitignore"
pull_request:
branches:
- master
- main
paths-ignore:
- "platform/android/**"
- "platform/darwin/**"

View File

@@ -14,7 +14,7 @@ on:
- ".gitignore"
pull_request:
branches:
- master
- main
paths-ignore:
- "platform/android/**"
- "platform/darwin/**"