Skip to content

Commit 93b7b85

Browse files
authored
Fix download/upload artifact failures (#114)
Downloading artifacts that were created from action/upload-artifact@v3 and below are not supported. These should remain @V3 for now, ignore dependabot proposed upgrade.
1 parent 3f06942 commit 93b7b85

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ jobs:
4141
role-to-assume: ${{ vars.ACTIONS_IAM_ROLE }}
4242
aws-region: ${{ vars.S3_REGION }}
4343

44-
- uses: actions/download-artifact@v4
44+
# Downloading artifacts that were created from action/upload-artifact@v3 and below are not supported.
45+
# https://github.com/actions/download-artifact
46+
# These actions should remain @v3 for now, ignore dependabot proposed upgrade.
47+
# https://github.com/actions/upload-artifact/issues/478
48+
- uses: actions/download-artifact@v3
4549
with:
4650
name: "ort-results-s3connectorforpytorch--"
4751

@@ -56,7 +60,7 @@ jobs:
5660
with:
5761
package-dir: s3torchconnectorclient
5862

59-
- uses: actions/upload-artifact@v4
63+
- uses: actions/upload-artifact@v3
6064
with:
6165
path: "./wheelhouse/*.whl"
6266
name: wheels
@@ -74,7 +78,7 @@ jobs:
7478
steps:
7579
- uses: actions/checkout@v4
7680

77-
- uses: actions/download-artifact@v4
81+
- uses: actions/download-artifact@v3
7882
with:
7983
name: "ort-results-s3connectorforpytorch--"
8084

@@ -91,7 +95,7 @@ jobs:
9195
python -m pip install build
9296
python -m build --sdist
9397
94-
- uses: actions/upload-artifact@v4
98+
- uses: actions/upload-artifact@v3
9599
with:
96100
path: "./${{ matrix.build_target }}/dist/*"
97101
name: wheels

0 commit comments

Comments
 (0)