-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
458 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,24 +2,30 @@ name: Build | |
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- "feature/**" | ||
- "release/**" | ||
- "hotfix/**" | ||
tags: | ||
- "*" | ||
paths-ignore: | ||
- "README.md" | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
#mimic "skip_branch_with_pr: true", see https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012/4 | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
os: [ windows-2019, ubuntu-18.04, macos-10.15 ] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.ref }} | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
- name: Fetch all tags and branches | ||
run: git fetch --prune --unshallow | ||
- name: Cache Tools | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -31,9 +37,8 @@ jobs: | |
script-path: recipe.cake | ||
target: CI | ||
verbosity: Diagnostic | ||
cake-version: 0.38.4 | ||
cake-version: 0.38.5 | ||
cake-bootstrap: true | ||
# currently, Cake.Recipe does not upload artifacts when run on gh-actions | ||
- name: Upload Issues | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -44,7 +49,7 @@ jobs: | |
BuildArtifacts/**/coverlet/*.xml | ||
- name: Upload Packages | ||
uses: actions/upload-artifact@v2 | ||
if: matrix.os == 'windows-latest' | ||
if: runner.os == 'Windows' | ||
with: | ||
if-no-files-found: warn | ||
name: package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.