chore: rename master -> main in CI and scripts (#246)
Thanks for contributing to FOSS4G!
This commit is contained in:
2
.github/workflows/android-ci-pull.yml
vendored
2
.github/workflows/android-ci-pull.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- "platform/ios/**"
|
||||
- "platform/qt/**"
|
||||
|
||||
2
.github/workflows/ios-ci.yml
vendored
2
.github/workflows/ios-ci.yml
vendored
@@ -13,7 +13,7 @@ on:
|
||||
- ".gitignore"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- "platform/android/**"
|
||||
- "platform/qt/**"
|
||||
|
||||
4
.github/workflows/macos-ci.yml
vendored
4
.github/workflows/macos-ci.yml
vendored
@@ -12,10 +12,10 @@ on:
|
||||
- "README.md"
|
||||
- ".gitignore"
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- "platform/android/**"
|
||||
- "platform/qt/**"
|
||||
|
||||
10
.github/workflows/node-ci.yml
vendored
10
.github/workflows/node-ci.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/qt-ci-windows.yml
vendored
2
.github/workflows/qt-ci-windows.yml
vendored
@@ -15,7 +15,7 @@ on:
|
||||
- ".gitignore"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- "platform/android/**"
|
||||
- "platform/darwin/**"
|
||||
|
||||
2
.github/workflows/qt-ci.yml
vendored
2
.github/workflows/qt-ci.yml
vendored
@@ -14,7 +14,7 @@ on:
|
||||
- ".gitignore"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
paths-ignore:
|
||||
- "platform/android/**"
|
||||
- "platform/darwin/**"
|
||||
|
||||
Reference in New Issue
Block a user