Modify build triggers.

This commit is contained in:
Blaž Hrastnik 2021-05-10 16:15:28 +09:00
parent 83f97a7c89
commit 37d32e2933
2 changed files with 12 additions and 12 deletions

View file

@ -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:

View file

@ -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: