Merge branch 'main' of https://github.com/DanielLMcGuire/MathBotCLI #11
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: Windows Canary Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '8.0.x' # Change this to your desired .NET version | |
- name: Restore dependencies | |
run: dotnet restore src/windows/MathBotCLI.csproj | |
- name: Build | |
run: dotnet build src/windows/MathBotCLI.csproj --configuration Release --output "canary/Windows/" | |
- name: Git Identity | |
run: | | |
git config user.email "146508360+DanielLMcGuire@users.noreply.github.com" | |
git config user.name "Daniel McGuire" | |
- name: Add ignored files (.gitignore) | |
run: | | |
git add -f canary/Windows/* | |
git commit -m "Built Windows Canary" | |
git push |