From 37d32e2933448bd100e09b30401d87c60c7eba88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 10 May 2021 16:15:28 +0900 Subject: [PATCH] Modify build triggers. --- .github/workflows/release.yml | 9 +++++---- .github/workflows/rust.yml | 15 +++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8159be5a0..49000966d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,17 +1,18 @@ name: Release -on: [push] +on: # schedule: # - cron: '0 0 * * *' # midnight UTC - # push: - # branches: - # - release + push: + # tags: + ## - release jobs: dist: name: Dist runs-on: ${{ matrix.os }} strategy: + fail-fast: false # don't fail other jobs if one fails matrix: build: [linux, linux-arm, macos, win-msvc] #, win-gnu, win32-msvc include: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2a1e8d126..98f85ba51 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,12 +1,11 @@ -# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md -# -# While our "example" application has the platform-specific code, -# for simplicity we are compiling and testing everything on the Ubuntu environment only. -# For multi-OS testing see the `cross.yml` workflow. - -on: [push, pull_request] - name: Build +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: check: