Skip to content

Commit 5a0f7d8

Browse files
committed
Update GH workflow
1 parent 3bd1121 commit 5a0f7d8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
runs-on: ubuntu-22.04
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4.1.2
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121
- name: Install .NET SDK
22-
uses: actions/setup-dotnet@v4.0.0
22+
uses: actions/setup-dotnet@v5
2323
with:
2424
dotnet-version: 9.0.x
2525
- name: Compute version suffix for branch builds
@@ -33,7 +33,7 @@ jobs:
3333
- name: Build
3434
run: dotnet build LibGit2Sharp.sln --configuration Release ${{ steps.version.outputs.override && format('/p:MinVerDefaultPreReleaseIdentifiers="{0}"', steps.version.outputs.override) || '' }}
3535
- name: Upload packages
36-
uses: actions/upload-artifact@v4.3.1
36+
uses: actions/upload-artifact@v7
3737
with:
3838
name: NuGet packages
3939
path: artifacts/package/
@@ -62,11 +62,11 @@ jobs:
6262
fail-fast: false
6363
steps:
6464
- name: Checkout
65-
uses: actions/checkout@v4.1.2
65+
uses: actions/checkout@v6
6666
with:
6767
fetch-depth: 0
6868
- name: Install .NET SDK
69-
uses: actions/setup-dotnet@v4.0.0
69+
uses: actions/setup-dotnet@v5
7070
with:
7171
dotnet-version: |
7272
9.0.x
@@ -93,7 +93,7 @@ jobs:
9393
fail-fast: false
9494
steps:
9595
- name: Checkout
96-
uses: actions/checkout@v4.1.2
96+
uses: actions/checkout@v6
9797
with:
9898
fetch-depth: 0
9999
- name: Run ${{ matrix.tfm }} tests
@@ -109,7 +109,8 @@ jobs:
109109
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' && github.event_name != 'schedule'
110110
runs-on: ubuntu-22.04
111111
steps:
112-
- uses: actions/download-artifact@v4
112+
- uses: actions/download-artifact@v8
113+
113114
with:
114115
path: staging
115116
- name: Push package to feed 🐙

LibGit2Sharp.Tests/GlobalSettingsFixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public void LoadFromSpecifiedPath(string architecture)
6161
{
6262
Skip.IfNot(Platform.IsRunningOnNetFramework(), ".NET Framework only test.");
6363

64-
var nativeDllFileName = NativeDllName.Name + ".dll";
6564
var testDir = Path.GetDirectoryName(typeof(GlobalSettingsFixture).Assembly.Location);
6665
var testAppExe = Path.Combine(testDir, $"NativeLibraryLoadTestApp.{architecture}.exe");
6766
var tempDir = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());

0 commit comments

Comments
 (0)