Update .github/workflows/dotnet.yml
Some checks failed
.NET / build (push) Failing after 10s

This commit is contained in:
Elijah 2023-08-23 02:04:58 -04:00
parent 6f3b692c34
commit 378955b77e

View file

@ -12,25 +12,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: docker
container:
image: archlinux:base-devel
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install Dependencies
run: sudo pacman -S --needed --noconfirm git dotnet-sdk-6.0
- name: Checkout
run: |
git clone https://git.computernewb.com/Elijah/CollabVMSharp
cd CollabVMSharp
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: publish to NuGet
id: publish_nuget
uses: tedd/publish-nuget-neo@v1
with:
NUGET_KEY: ${{SECRETS.NUGET_KEY}}
PROJECT_FILE_PATH: CollabVMSharp/CollabVMSharp.csproj
PACKAGE_NAME: CollabVMSharp
run: dotnet build --no-restore