Skip to content

Push 1.0.5 batch changes #23

Push 1.0.5 batch changes

Push 1.0.5 batch changes #23

Workflow file for this run

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