Skip to content

Bump xunit from 2.6.2 to 2.6.5 #67

Bump xunit from 2.6.2 to 2.6.5

Bump xunit from 2.6.2 to 2.6.5 #67

Workflow file for this run

name: Automatic Staging
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
pack:
name: Build and Test Package
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 Solution
run: dotnet restore
- name: Run Unit Tests
run: dotnet test -c Release --logger "console;verbosity=detailed" Starnet.Tests
- name: Get Commit Information
id: commit
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build NuGet Package
run: dotnet pack -c Debug /p:Version=0 Starnet
- name: Prepare Package Artifact
run: |
mv \
${{ github.workspace }}/Starnet/bin/Debug/LBPUnion.Starnet.0.0.0.nupkg \
${{ github.workspace }}/Starnet/bin/Debug/LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg
- name: Upload Package Artifact
uses: actions/[email protected]
with:
name: LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg
path: ${{ github.workspace }}/Starnet/bin/Debug/LBPUnion.Starnet.debug.${{ steps.commit.outputs.hash }}.nupkg
if-no-files-found: error
retention-days: 3