Clean up excess workflow steps
This commit is contained in:
@@ -13,21 +13,12 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Check Disk Space after Checkout
|
||||
run: df -h
|
||||
|
||||
- name: Prune Docker System
|
||||
run: docker system prune -af
|
||||
|
||||
- name: Check Disk Space after Prune Docker System
|
||||
run: df -h
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Check Disk Space after Set up Docker Buildx
|
||||
run: df -h
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
@@ -51,7 +42,3 @@ jobs:
|
||||
ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:latest
|
||||
cache-from: type=registry,ref=ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:latest
|
||||
cache-to: type=registry,ref=ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:latest,mode=max
|
||||
|
||||
- name: Check Disk Space on workflow failure
|
||||
if: failure()
|
||||
run: df -h
|
||||
|
||||
Reference in New Issue
Block a user