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

Add a cleanup action #1541

Merged
merged 1 commit into from
Feb 8, 2024
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
17 changes: 17 additions & 0 deletions .github/actions/job-preamble/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Job Preamble
description: Common steps for most jobs
runs:
using: composite
steps:
- name: Recover docker image cache space
run: |
df --si /
docker system prune --force --all
df --si /
shell: bash

- name: Ignore dubious repository ownership
run: |
# Prevent fatal error "detected dubious ownership in repository" from recent git.
git config --global --add safe.directory "$(pwd)"
shell: bash
2 changes: 2 additions & 0 deletions .github/workflows/support-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
upstream-drivers-bucket: gs://${{ inputs.upstream-drivers-bucket }}
downstream-drivers-bucket: gs://${{ inputs.downstream-drivers-bucket }}

- uses: ./.github/actions/job-preamble

- name: Create support-packages
run: |
${{ github.workspace }}/kernel-modules/support-packages/04-create-support-packages.sh \
Expand Down
Loading