Ignore tags

pull/3/head
sgoudham 3 years ago
parent f8f7962a4f
commit 7abaa94343

@ -1,12 +1,12 @@
name: build name: build
on: [push, pull_request] on:
push:
tags-ignore:
- '**'
pull_request:
jobs: jobs:
# This job downloads and stores `cross` as an artifact, so that it can be
# redownloaded across all of the jobs. Currently this copied pasted between
# `build.yml` and `deploy.yml`. Make sure to update both places when making
# changes.
install-cross: install-cross:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -26,14 +26,10 @@ jobs:
path: ${{ steps.cross.outputs.install_path }} path: ${{ steps.cross.outputs.install_path }}
strategy: strategy:
matrix: matrix:
platform: [linux-musl, apple-darwin] platform: [ linux-musl, apple-darwin ]
windows: windows:
runs-on: windows-latest runs-on: windows-latest
# Windows technically doesn't need this, but if we don't block windows on it
# some of the windows jobs could fill up the concurrent job queue before
# one of the install-cross jobs has started, so this makes sure all
# artifacts are downloaded first.
needs: install-cross needs: install-cross
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -48,7 +44,7 @@ jobs:
strategy: strategy:
matrix: matrix:
channel: [stable, beta] channel: [ stable, beta ]
target: target:
- x86_64-pc-windows-gnu - x86_64-pc-windows-gnu
- x86_64-pc-windows-msvc - x86_64-pc-windows-msvc
@ -76,7 +72,7 @@ jobs:
strategy: strategy:
matrix: matrix:
channel: [stable, beta] channel: [ stable, beta ]
target: target:
# macOS # macOS
- x86_64-apple-darwin - x86_64-apple-darwin
@ -107,7 +103,7 @@ jobs:
strategy: strategy:
matrix: matrix:
channel: [stable, beta] channel: [ stable, beta ]
target: target:
# Linux # Linux
- x86_64-unknown-linux-gnu - x86_64-unknown-linux-gnu

Loading…
Cancel
Save