Skip to content

Commit

Permalink
Added a cleanup step to all macOS workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DanilBaibak committed Oct 16, 2023
1 parent bde99fb commit 8269b80
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
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@main

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@main

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@main

0 comments on commit 8269b80

Please sign in to comment.