This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
fix: remove try...catch
#53
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Add `nuget.voids.site` nuget source | |
run: dotnet nuget add source https://nuget.voids.site/v3/index.json -n nuget.voids.site | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet publish | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
path: src/bin/Release/net8.0/win-x64/publish |