Skip to content

Commit 553e2b8

Browse files
Bump actions/upload-artifact from 3 to 4 (#188)
* Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Matrix specific names + merge multiple on download artifacts --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Marslender <[email protected]>
1 parent 1a203e4 commit 553e2b8

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

.github/workflows/build-c-libraries.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
cmake --build .
9292
9393
- name: Upload artifacts
94-
uses: actions/upload-artifact@v3
94+
uses: actions/upload-artifact@v4
9595
with:
9696
name: c-libraries-${{ matrix.os.matrix }}-${{ matrix.arch.matrix }}
9797
path: ./src/lib
@@ -118,7 +118,7 @@ jobs:
118118
Compress-Archive -Path ${{ env.DIST_DIR }}/* -Destination chiavdfc-${{ matrix.os.matrix }}-${{ matrix.arch.matrix }}.zip
119119
120120
- name: Upload zip as artifact
121-
uses: actions/upload-artifact@v3
121+
uses: actions/upload-artifact@v4
122122
with:
123123
name: chiavdfc-${{ matrix.os.matrix }}-${{ matrix.arch.matrix }}
124124
path: |

.github/workflows/build-riscv64.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ jobs:
7373
'
7474
7575
- name: Upload artifacts
76-
uses: actions/upload-artifact@v3
76+
uses: actions/upload-artifact@v4
7777
with:
78-
name: packages
78+
name: packages-${{ matrix.os.name }}-${{ matrix.python.major-dot-minor }}
7979
path: ./dist
8080
if-no-files-found: error
8181
upload:
@@ -96,9 +96,10 @@ jobs:
9696

9797
- name: Download artifacts
9898
if: env.RELEASE == 'true'
99-
uses: actions/download-artifact@v3
99+
uses: actions/download-artifact@v4
100100
with:
101-
name: packages
101+
merge-multiple: true
102+
pattern: packages-*
102103
path: ./dist
103104

104105
- name: Configure AWS credentials

.github/workflows/build.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ jobs:
123123
pipx run --spec='cibuildwheel==2.16.2' cibuildwheel --output-dir dist 2>&1
124124

125125
- name: Upload artifacts
126-
uses: actions/upload-artifact@v3
126+
uses: actions/upload-artifact@v4
127127
with:
128-
name: packages
128+
name: packages-${{ matrix.os.name }}-${{ matrix.python.major-dot-minor }}-${{ matrix.arch.name }}
129129
path: ./dist
130130

131131
build-sdist:
@@ -166,9 +166,9 @@ jobs:
166166
python -m build --sdist --outdir dist .
167167
168168
- name: Upload artifacts
169-
uses: actions/upload-artifact@v3
169+
uses: actions/upload-artifact@v4
170170
with:
171-
name: packages
171+
name: packages-sdist-${{ matrix.os.name }}-${{ matrix.python.major-dot-minor }}-${{ matrix.arch.name }}
172172
path: ./dist
173173

174174
check:
@@ -255,9 +255,10 @@ jobs:
255255
python-version: ${{ matrix.python.major-dot-minor }}
256256

257257
- name: Download artifacts
258-
uses: actions/download-artifact@v3
258+
uses: actions/download-artifact@v4
259259
with:
260-
name: packages
260+
merge-multiple: true
261+
pattern: packages-*
261262
path: ./dist
262263

263264
- name: Publish distribution to PyPI

.github/workflows/hw-build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: make -f Makefile.vdf-client emu_hw_test hw_test emu_hw_vdf_client hw_vdf_client
5555

5656
- name: Upload Artifacts
57-
uses: actions/upload-artifact@v3
57+
uses: actions/upload-artifact@v4
5858
with:
5959
name: hw-vdf
6060
path: |
@@ -88,7 +88,7 @@ jobs:
8888
echo "DEB_NAME=$CLI_DEB_BASE.deb" >> $GITHUB_ENV
8989
9090
- name: Upload Installer
91-
uses: actions/upload-artifact@v3
91+
uses: actions/upload-artifact@v4
9292
with:
9393
name: installer
9494
path: |

0 commit comments

Comments
 (0)