Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Delete .github/workflows/ci-linux.yml #44

Delete .github/workflows/ci-linux.yml

Delete .github/workflows/ci-linux.yml #44

Workflow file for this run

name: Windows Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore Source/Mocha.sln
- name: Build
run: dotnet publish --output "C:\temp\build" -c Release -r win-x64 Source/Mocha.sln
- name: Test
run: dotnet test --no-build --verbosity normal Source/Mocha.sln
- name: Build Success
uses: rjstone/discord-webhook-notify@v1
if: success()
with:
severity: info
webhookUrl: ${{ secrets.CI_DISCORD_WEBHOOK_PUBLIC }}
description: "Windows: build success"
- name: Build Failure
uses: rjstone/discord-webhook-notify@v1
if: failure()
with:
severity: error
webhookUrl: ${{ secrets.CI_DISCORD_WEBHOOK_PUBLIC }}
description: "Windows: build failed"
text: "https://tenor.com/view/conductor-we-have-a-problem-cat-cute-funny-gif-17168115721186324165"
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: build-output
path: C:\temp\build
deployToSteam:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: build-output
path: build
- name: Upload to steam
uses: game-ci/steam-deploy@v3
with:
username: ${{ secrets.STEAM_USERNAME }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF }}
appId: 2280950
buildDescription: ${{ github.sha }}
rootPath: build
depot1Path: .
releaseBranch: prerelease