updating branch terminology in ci (#110)
Co-authored-by: John Kennedy <jkennedy@verizonmedia.com>main
parent
ede39372f4
commit
c06edcf9b2
|
@ -2,11 +2,11 @@ name: ci
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, release-* ]
|
||||
branches: [ main, release-* ]
|
||||
tags:
|
||||
'v*'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
# This is a super hacky way to get this into a place that can actually be
|
||||
|
@ -56,7 +56,7 @@ jobs:
|
|||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||
|
||||
- name: Build Pr (Linux)
|
||||
if: matrix.os == 'ubuntu-16.04' && !contains(github.ref, 'tags/v') && !contains(github.ref, 'refs/heads/master') && !contains(github.ref, 'refs/heads/release-')
|
||||
if: matrix.os == 'ubuntu-16.04' && !contains(github.ref, 'tags/v') && !contains(github.ref, 'refs/heads/main') && !contains(github.ref, 'refs/heads/release-')
|
||||
run: |
|
||||
echo "Building!"
|
||||
sudo apt install libxcb-keysyms1-dev desktop-file-utils libxcb-icccm4 libxcb-image0 libxcb-util1 \
|
||||
|
@ -81,7 +81,7 @@ jobs:
|
|||
if: |
|
||||
matrix.os == 'macos-latest' &&
|
||||
contains(github.ref, 'tags/v') != true &&
|
||||
contains(github.ref, 'refs/heads/master') != true &&
|
||||
contains(github.ref, 'refs/heads/main') != true &&
|
||||
contains(github.ref, 'refs/heads/release') != true
|
||||
run: |
|
||||
brew install qt@5
|
||||
|
@ -98,7 +98,7 @@ jobs:
|
|||
- name: Import Code-Signing Certificates
|
||||
if: |
|
||||
matrix.os == 'macos-latest' &&
|
||||
(contains(github.ref, 'tags/v') || github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release'))
|
||||
(contains(github.ref, 'tags/v') || github.ref == 'refs/heads/main' || contains(github.ref, 'refs/heads/release'))
|
||||
uses: Apple-Actions/import-codesign-certs@v1.0.4
|
||||
with:
|
||||
p12-file-base64: ${{ secrets.MACOS_CERT }}
|
||||
|
@ -107,7 +107,7 @@ jobs:
|
|||
- name: Build and Sign Release (mac)
|
||||
if: |
|
||||
matrix.os == 'macos-latest' &&
|
||||
(contains(github.ref, 'tags/v') || github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release'))
|
||||
(contains(github.ref, 'tags/v') || github.ref == 'refs/heads/main' || contains(github.ref, 'refs/heads/release'))
|
||||
run: |
|
||||
brew install qt@5
|
||||
export PATH="/usr/local/opt/qt@5/bin:$PATH"
|
||||
|
@ -123,7 +123,7 @@ jobs:
|
|||
- name: Install gon via HomeBrew and Notarize (mac)
|
||||
if: |
|
||||
matrix.os == 'macos-latest' &&
|
||||
(contains(github.ref, 'tags/v') || github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release'))
|
||||
(contains(github.ref, 'tags/v') || github.ref == 'refs/heads/main' || contains(github.ref, 'refs/heads/release'))
|
||||
env:
|
||||
GON_CONF: ${{ secrets.GON_CONF }}
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue