Change default branch name to main

This commit is contained in:
Lars Toenning
2023-04-07 11:03:02 +02:00
committed by Mat Sutcliffe
parent d151f9ffff
commit b4baa936d6
2 changed files with 4 additions and 6 deletions

View File

@@ -5,7 +5,6 @@ on:
branches-ignore:
- stable/**
- nobuild/**
- readthedocs
pull_request:
concurrency:
@@ -14,7 +13,7 @@ concurrency:
env:
do_vatsim_key: ${{ github.event_name == 'push' }}
do_symbols: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/develop/') }}
do_symbols: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
qt_version: 5.15.2
bitrock_version: qt-professional-23.1.0
bitrock_url: https://releases.bitrock.com/installbuilder
@@ -427,7 +426,7 @@ jobs:
release:
runs-on: ubuntu-20.04
needs: [preBuild, postBuild]
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/develop/') }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
outputs:
id: ${{ steps.create.outputs.release_id }}