You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
945 B
YAML
38 lines
945 B
YAML
name: .NET Core CI
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- '.github/*'
|
|
- '.github/*_TEMPLATE/**'
|
|
- '*.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '.github/*'
|
|
- '.github/*_TEMPLATE/**'
|
|
- '*.md'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: .NET on ${{ matrix.os }} (${{ matrix.configuration }})
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
configuration: [Release, Debug]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v1
|
|
- name: Build
|
|
run: dotnet publish -c ${{ matrix.configuration }} -o artifacts
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v2
|
|
if: matrix.configuration == 'Release'
|
|
with:
|
|
name: DepotDownloader-${{ runner.os }}
|
|
path: artifacts
|
|
if-no-files-found: error
|