Skip to content

Commit 36cfbac

Browse files
authored
update upload-artifact (#23)
1 parent 092f6ac commit 36cfbac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-package.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,20 @@ jobs:
6363
go build -buildmode=c-shared -o d2wrapper${{ runner.os == 'Windows' && '.dll' || runner.os == 'macOS' && '.dylib' || '.so' }} .
6464
6565
- name: Upload D2Sharp build artifact
66-
uses: actions/upload-artifact@v3
66+
uses: actions/upload-artifact@v4.6.1
6767
with:
6868
name: d2net-${{ matrix.os }}
6969
path: src/D2Sharp/bin/Release/net8.0/D2Sharp.*
7070

7171
- name: Upload native library
72-
uses: actions/upload-artifact@v3
72+
uses: actions/upload-artifact@v4.6.1
7373
with:
7474
name: d2wrapper-${{ matrix.os }}
7575
path: src/D2Sharp/d2wrapper/d2wrapper*
7676

7777
- name: Upload build logs on failure
7878
if: failure()
79-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4.6.1
8080
with:
8181
name: build-logs-${{ matrix.os }}
8282
path: |
@@ -173,7 +173,7 @@ jobs:
173173

174174
- name: Upload NuGet package
175175
if: steps.check_changes.outputs.run_package == 'true'
176-
uses: actions/upload-artifact@v3
176+
uses: actions/upload-artifact@v4.6.1
177177
with:
178178
name: nuget-package
179179
path: ./*.nupkg

0 commit comments

Comments
 (0)