Skip to content

Commit

Permalink
Update CI to use .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sudokoko committed Dec 8, 2023
1 parent 7976f6f commit 27a8444
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Get Version Information
id: version
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
pack:
name: Build and Test Package
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Restore Solution
run: dotnet restore
Expand All @@ -28,16 +28,16 @@ jobs:
- 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:
Expand Down

0 comments on commit 27a8444

Please sign in to comment.