Update .github/workflows/dotnet.yml
Some checks failed
.NET / build (push) Failing after 10s
Some checks failed
.NET / build (push) Failing after 10s
This commit is contained in:
parent
6f3b692c34
commit
378955b77e
1 changed files with 10 additions and 17 deletions
27
.github/workflows/dotnet.yml
vendored
27
.github/workflows/dotnet.yml
vendored
|
@ -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
|
Loading…
Reference in a new issue