From 7abaa94343718409a642a5610b276a4884f623b2 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 28 Jan 2022 21:52:52 +0000 Subject: [PATCH] Ignore tags --- .github/workflows/build.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 103b78f..a512d7c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,12 @@ name: build -on: [push, pull_request] +on: + push: + tags-ignore: + - '**' + pull_request: 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: runs-on: ubuntu-latest steps: @@ -26,14 +26,10 @@ jobs: path: ${{ steps.cross.outputs.install_path }} strategy: matrix: - platform: [linux-musl, apple-darwin] + platform: [ linux-musl, apple-darwin ] windows: 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 steps: - uses: actions/checkout@v2 @@ -48,7 +44,7 @@ jobs: strategy: matrix: - channel: [stable, beta] + channel: [ stable, beta ] target: - x86_64-pc-windows-gnu - x86_64-pc-windows-msvc @@ -76,7 +72,7 @@ jobs: strategy: matrix: - channel: [stable, beta] + channel: [ stable, beta ] target: # macOS - x86_64-apple-darwin @@ -107,7 +103,7 @@ jobs: strategy: matrix: - channel: [stable, beta] + channel: [ stable, beta ] target: # Linux - x86_64-unknown-linux-gnu