Skip to content

Bump xunit.runner.visualstudio from 2.5.4 to 2.5.6 #327

Bump xunit.runner.visualstudio from 2.5.4 to 2.5.6

Bump xunit.runner.visualstudio from 2.5.4 to 2.5.6 #327

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: Build and Upload Artifacts
runs-on: ubuntu-latest
steps:
- name: Checkout from GitHub
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore Dependencies
run: dotnet restore
- name: Get Commit Hash
id: hash
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Run Unit Tests
run: dotnet test -c Release --logger "console;verbosity=detailed" PLRPC.Tests
- name: Publish CLI for Windows x64
run: dotnet publish -c Release -r win-x64 --self-contained PLRPC.CLI
- name: Publish CLI for Linux x64
run: dotnet publish -c Release -r linux-x64 --self-contained PLRPC.CLI
- name: Publish GUI for Windows x64
run: dotnet publish -c Release -r win-x64 --self-contained PLRPC.GUI.Windows
- name: Publish GUI for Linux x64
run: dotnet publish -c Release -r linux-x64 --self-contained PLRPC.GUI.Linux
- name: Upload Windows x64 CLI build
uses: actions/upload-artifact@v3.1.1
with:
name: PLRPC CLI Windows x64 [${{ steps.hash.outputs.hash }}]
path: "/home/runner/work/PLRPC/PLRPC/PLRPC.CLI/bin/Release/net8.0/win-x64/publish/"
if-no-files-found: error
retention-days: 3
- name: Upload Linux x64 CLI build
uses: actions/upload-artifact@v3.1.1
with:
name: PLRPC CLI Linux x64 [${{ steps.hash.outputs.hash }}]
path: "/home/runner/work/PLRPC/PLRPC/PLRPC.CLI/bin/Release/net8.0/linux-x64/publish/"
if-no-files-found: error
retention-days: 3
- name: Upload Windows x64 GUI build
uses: actions/upload-artifact@v3.1.1
with:
name: PLRPC GUI Windows x64 [${{ steps.hash.outputs.hash }}]
path: "/home/runner/work/PLRPC/PLRPC/PLRPC.GUI.Windows/bin/Release/net8.0-windows/win-x64/publish/"
if-no-files-found: error
retention-days: 3
- name: Upload Linux x64 GUI build
uses: actions/upload-artifact@v3.1.1
with:
name: PLRPC GUI Linux x64 [${{ steps.hash.outputs.hash }}]
path: "/home/runner/work/PLRPC/PLRPC/PLRPC.GUI.Linux/bin/Release/net8.0/linux-x64/publish/"
if-no-files-found: error
retention-days: 3