mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Use actions/upload-artifact@v4.4.0 for rest of workflows (#135264)
To be consistent with https://github.com/pytorch/pytorch/pull/135263 and rest of workflows. Use v4.4.0. Pull Request resolved: https://github.com/pytorch/pytorch/pull/135264 Approved by: https://github.com/kit1980, https://github.com/malfet
This commit is contained in:
parent
034717a029
commit
9c0b03020b
7 changed files with 12 additions and 12 deletions
|
|
@ -147,7 +147,7 @@ runs:
|
|||
|
||||
# GHA upload
|
||||
- name: Store Test Downloaded JSONs on Github
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
if: inputs.use-gha
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
|
@ -158,7 +158,7 @@ runs:
|
|||
path: test/**/*.json
|
||||
|
||||
- name: Store Test Reports on Github
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
if: inputs.use-gha
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
|
@ -172,7 +172,7 @@ runs:
|
|||
test/**/*.csv
|
||||
|
||||
- name: Store Usage Logs on Github
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
if: inputs.use-gha
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
|
|
|||
6
.github/workflows/_ios-build-test.yml
vendored
6
.github/workflows/_ios-build-test.yml
vendored
|
|
@ -263,7 +263,7 @@ jobs:
|
|||
zip -r "${IOS_ARCH}.zip" install src version.txt LICENSE ./*.podspec
|
||||
popd
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4.4.0
|
||||
if: matrix.ios_platform == 'OS'
|
||||
with:
|
||||
name: pytorch-ios-build-artifacts-${{ matrix.ios_arch }}
|
||||
|
|
@ -401,13 +401,13 @@ jobs:
|
|||
echo "SPEC_NAME=${SPEC_NAME}"
|
||||
} >> "$GITHUB_ENV"
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4.4.0
|
||||
with:
|
||||
name: pytorch-ios-artifacts
|
||||
if-no-files-found: error
|
||||
path: ${{ env.DEST_DIR }}/${{ env.ARTIFACT_NAME }}
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4.4.0
|
||||
with:
|
||||
name: pytorch-ios-podspec
|
||||
if-no-files-found: error
|
||||
|
|
|
|||
4
.github/workflows/_mac-build.yml
vendored
4
.github/workflows/_mac-build.yml
vendored
|
|
@ -186,7 +186,7 @@ jobs:
|
|||
zip -1 -r artifacts.zip dist/ build/.ninja_log build/compile_commands.json .additional_ci_files
|
||||
|
||||
- name: Store PyTorch Build Artifacts on GHA
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
if: inputs.build-generates-artifacts && steps.build.outcome != 'skipped'
|
||||
with:
|
||||
name: ${{ env.BUILD_ENVIRONMENT }}
|
||||
|
|
@ -195,7 +195,7 @@ jobs:
|
|||
path: artifacts.zip
|
||||
|
||||
- name: Upload sccache stats to GHA
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
# Only if sccache is installed, see above
|
||||
if: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && steps.build.outcome != 'skipped' }}
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/_rocm-test.yml
vendored
2
.github/workflows/_rocm-test.yml
vendored
|
|
@ -269,7 +269,7 @@ jobs:
|
|||
find . -iname "core.[1-9]*" -exec docker exec "${CONTAINER_NAME}" sh -c "gdb python {} -ex 'bt' -ex 'q'" \;
|
||||
|
||||
- name: Store Core dumps on GitHub
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
if: failure()
|
||||
with:
|
||||
name: coredumps-${{ matrix.config }}-${{ matrix.shard }}-${{ matrix.num_shards }}-${{ matrix.runner }}
|
||||
|
|
|
|||
2
.github/workflows/_xpu-test.yml
vendored
2
.github/workflows/_xpu-test.yml
vendored
|
|
@ -261,7 +261,7 @@ jobs:
|
|||
docker stop "${{ env.CONTAINER_NAME }}"
|
||||
|
||||
- name: Store Core dumps on GitHub
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
if: failure()
|
||||
with:
|
||||
name: coredumps-${{ matrix.config }}-${{ matrix.shard }}-${{ matrix.num_shards }}-${{ matrix.runner }}
|
||||
|
|
|
|||
2
.github/workflows/scorecards.yml
vendored
2
.github/workflows/scorecards.yml
vendored
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||
# format to the repository Actions tab.
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
with:
|
||||
name: SARIF file
|
||||
path: results.sarif
|
||||
|
|
|
|||
2
.github/workflows/target_determination.yml
vendored
2
.github/workflows/target_determination.yml
vendored
|
|
@ -83,7 +83,7 @@ jobs:
|
|||
path: td_results.json
|
||||
|
||||
- name: Store TD results on GHA
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
if: steps.td.outcome == 'success'
|
||||
with:
|
||||
name: td_results.json
|
||||
|
|
|
|||
Loading…
Reference in a new issue