test-dot-net #611
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
name: test-dot-net | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/test-dot-net' | |
- 'dotnet-examples/**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/test-dot-net' | |
- 'dotnet-examples/**' | |
workflow_dispatch: | |
schedule: | |
# minute (0-59) | |
# hour (0-23) | |
# day of the month (1-31) | |
# month (1-12) | |
# day of the week (0-6) | |
# nightly build at 23:50 UTC time every day | |
- cron: "50 23 * * *" | |
concurrency: | |
group: test-dot-net-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
test-dot-net: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET 6.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.0.x | |
- name: Check dotnet | |
run: dotnet --info | |
- name: Decode a file | |
shell: bash | |
run: | | |
cd dotnet-examples/decode-file | |
./run.sh |