File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,14 @@ jobs:
100100 shell : bash
101101 run : build/build.sh prepack -platform $PLATFORM -configuration $BUILD_CONFIGURATION
102102
103- - uses : actions/upload-artifact@v3
103+ - name : Upload Artifacts
104+ # We only need a release version of this in the create_package job
105+ if : matrix.build-cfg == 'Release'
106+ uses : actions/upload-artifact@v4
104107 with :
105- name : intermediate
108+ name : intermediate-${{ matrix.build-cfg }}-${{ matrix.platform }}
109+ retention-days : 7
110+ overwrite : true
106111 path : |
107112 artifacts
108113 include/**/*.h
@@ -127,9 +132,9 @@ jobs:
127132 - name : Set version
128133 run : nbgv cloud --all-vars
129134
130- - uses : actions/download-artifact@v3
135+ - uses : actions/download-artifact@v4
131136 with :
132- name : intermediate
137+ name : intermediate-Release-x64
133138
134139 - name : Setup
135140 shell : bash
@@ -140,7 +145,7 @@ jobs:
140145 run : build/build.sh pack -configuration $BUILD_CONFIGURATION
141146
142147 - name : Upload package
143- uses : actions/upload-artifact@v3
148+ uses : actions/upload-artifact@v4
144149 with :
145150 name : CppSharp.nupkg
146151 path : |
You can’t perform that action at this time.
0 commit comments