Merge pull request #142 from Pxtl/updates #1
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 Snow | |
# compile Sandra.Snow binary in release mode and publish as artifact "Snow" | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- 'src/**' | |
- '.github/workflows/build-snow.yml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: setup-msbuild | |
uses: microsoft/[email protected] | |
- name: Restore Packages | |
run: nuget restore src/Sandra.Snow.sln | |
- name: Build solution | |
run: msbuild src/Sandra.Snow.sln -t:rebuild -property:Configuration=Release | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: Snow | |
# A file, directory or wildcard pattern that describes what to upload | |
path: src/Snow/bin/Release |