Skip to content

Commit 49cc201

Browse files
committed
Updates artifact upload action and target framework.
Updates the upload-artifact action version and modifies the target framework in CSharpReference.cs.
1 parent ec27a92 commit 49cc201

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
working-directory: generator
2727
run: dotnet run -- cli refout
2828
- name: Upload Artifacts
29-
uses: actions/upload-artifact@v5
29+
uses: actions/upload-artifact@v4
3030
with:
3131
name: cli-${{ matrix.os }}
3232
path: generator/refout/*

generator/CSharpReference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static async Task UpdateCSharpReference(string outputCsharpReference)
3737

3838
ZipFile.ExtractToDirectory(velopackStream, extractedVelopack);
3939

40-
var velopackDll = Path.Combine(extractedVelopack, "lib", "netstandard2.0", "Velopack.dll");
40+
var velopackDll = Path.Combine(extractedVelopack, "lib", "net9.0", "Velopack.dll");
4141

4242
var p = Process.Start("mddocs", ["apireference", "-a", velopackDll, "-o", outputCsharpReference]);
4343
await p.WaitForExitAsync();

0 commit comments

Comments
 (0)