Modify build triggers.
This commit is contained in:
parent
83f97a7c89
commit
37d32e2933
2 changed files with 12 additions and 12 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -1,17 +1,18 @@
|
||||||
name: Release
|
name: Release
|
||||||
on: [push]
|
on:
|
||||||
# schedule:
|
# schedule:
|
||||||
# - cron: '0 0 * * *' # midnight UTC
|
# - cron: '0 0 * * *' # midnight UTC
|
||||||
|
|
||||||
# push:
|
push:
|
||||||
# branches:
|
# tags:
|
||||||
# - release
|
## - release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dist:
|
dist:
|
||||||
name: Dist
|
name: Dist
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false # don't fail other jobs if one fails
|
||||||
matrix:
|
matrix:
|
||||||
build: [linux, linux-arm, macos, win-msvc] #, win-gnu, win32-msvc
|
build: [linux, linux-arm, macos, win-msvc] #, win-gnu, win32-msvc
|
||||||
include:
|
include:
|
||||||
|
|
15
.github/workflows/rust.yml
vendored
15
.github/workflows/rust.yml
vendored
|
@ -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
|
name: Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|
Loading…
Add table
Reference in a new issue