Skip to content

Commit c064219

Browse files
committed
Attempt to fix upload-artifact CI step
1 parent 333005f commit c064219

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: .github/workflows/main.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@ jobs:
100100
shell: bash
101101
run: build/build.sh prepack -platform $PLATFORM -configuration $BUILD_CONFIGURATION
102102

103-
- uses: actions/upload-artifact@v3
103+
- uses: actions/upload-artifact@v4
104104
with:
105105
name: intermediate
106+
retention-days: 7
107+
overwrite: true
106108
path: |
107109
artifacts
108110
include/**/*.h
@@ -127,7 +129,7 @@ jobs:
127129
- name: Set version
128130
run: nbgv cloud --all-vars
129131

130-
- uses: actions/download-artifact@v3
132+
- uses: actions/download-artifact@v4
131133
with:
132134
name: intermediate
133135

@@ -140,7 +142,7 @@ jobs:
140142
run: build/build.sh pack -configuration $BUILD_CONFIGURATION
141143

142144
- name: Upload package
143-
uses: actions/upload-artifact@v3
145+
uses: actions/upload-artifact@v4
144146
with:
145147
name: CppSharp.nupkg
146148
path: |

0 commit comments

Comments
 (0)