Hotfix - match loading #24
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: Build | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.gitignore' | |
- '**/*.gitattributes' | |
workflow_dispatch: | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.gitignore' | |
- '**/*.gitattributes' | |
permissions: | |
contents: read | |
packages: write | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
DOTNET_NOLOGO: true | |
NUGET_URL: "https://nuget.pkg.github.com/dend/index.json" | |
jobs: | |
build: | |
runs-on: windows-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
source-url: ${{ env.NUGET_URL }} | |
env: | |
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }} | |
- name: Verify commit exists in origin/master | |
run: | | |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | |
git branch --remote --contains | grep origin/master | |
- name: Build | |
working-directory: ./src/OpenSpartan.Workshop | |
run: dotnet build --configuration Release | |
- name: Test | |
working-directory: ./src/OpenSpartan.Workshop | |
run: dotnet test --configuration Release --no-build |