aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-10 07:15:28 +0000
committerBlaž Hrastnik2021-05-10 07:15:28 +0000
commit37d32e2933448bd100e09b30401d87c60c7eba88 (patch)
treebb59ab53f9b885c5b1542dd9e54010d939887fe8 /.github/workflows
parent83f97a7c895473f4af6e1079f7fad4bf7d1f212e (diff)
Modify build triggers.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml9
-rw-r--r--.github/workflows/rust.yml15
2 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8159be5a..49000966 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 2a1e8d12..98f85ba5 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: