Skip to content

Commit

Permalink
remove files to conserve disk space actions
Browse files Browse the repository at this point in the history
Signed-off-by: sallyom <[email protected]>
  • Loading branch information
sallyom committed Apr 4, 2024
1 parent 0f258b3 commit 930a9e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ailab_image_build_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
packages: write

steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/[email protected]
# required for multi-arch builds
- name: Install qemu dependency
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
workflow_dispatch:
branches: [main]

permissions: write-all

jobs:
build:
runs-on: ubuntu-latest # windows-latest || macos-latest
Expand All @@ -23,6 +21,11 @@ jobs:
RAG_IMAGE: rag
CHROMADB_IMAGE: chromadb
steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v4
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
Expand Down

0 comments on commit 930a9e6

Please sign in to comment.