CI: remove branch check steps that don’t actually do anything

This commit is contained in:
Delan Azabani 2023-01-03 23:57:30 +08:00
parent b375297465
commit 8663757964

View file

@ -17,9 +17,6 @@ jobs:
name: Build (Windows)
runs-on: windows-2019
steps:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
run: exit 0
- uses: actions/checkout@v3
with:
fetch-depth: 2
@ -44,9 +41,6 @@ jobs:
name: Build (Windows UWP x64)
runs-on: windows-2019
steps:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
run: exit 0
- uses: actions/checkout@v3
with:
fetch-depth: 2
@ -72,9 +66,6 @@ jobs:
name: Build (Windows UWP arm64)
runs-on: windows-2019
steps:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
run: exit 0
- uses: actions/checkout@v3
with:
fetch-depth: 2
@ -98,9 +89,6 @@ jobs:
name: Build (macOS)
runs-on: macos-12
steps:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-mac', github.ref) }}
run: exit 0
- uses: actions/checkout@v3
with:
fetch-depth: 2
@ -202,9 +190,6 @@ jobs:
name: Build (Linux)
runs-on: ubuntu-20.04
steps:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-linux refs/heads/try-wpt', github.ref) }}
run: exit 0
- uses: actions/checkout@v3
with:
fetch-depth: 2
@ -238,9 +223,6 @@ jobs:
matrix:
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
steps:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-wpt', github.ref) }}
run: exit 0
- uses: actions/checkout@v3
with:
fetch-depth: 2