Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a cleanup step to all macOS workflows #4643

Merged
merged 4 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build_conda_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ jobs:
--label main \
--no-progress \
--force
- name: Clean up disk space
if: always()
continue-on-error: true
uses: ./test-infra/.github/actions/check-disk-space

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_wheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ jobs:
# PYTORCH_S3_BUCKET_PATH derived from pkg-helpers
${CONDA_RUN} aws s3 cp "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read
done
- name: Clean up disk space
if: always()
continue-on-error: true
uses: ./test-infra/.github/actions/check-disk-space

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/macos_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,7 @@ jobs:
name: ${{ inputs.upload-artifact }}
path: ${{ runner.temp }}/artifacts/
if-no-files-found: ${{ steps.check-artifacts.outputs.if-no-files-found }}
- name: Clean up disk space
if: always()
continue-on-error: true
uses: ./test-infra/.github/actions/check-disk-space