Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Jan 24, 2025
1 parent 40b52cd commit 3aa0b5c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 14 deletions.
39 changes: 25 additions & 14 deletions .github/workflows/build-system-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,32 @@ jobs:
display_version: ${{ steps.build_image.outputs.display_version }}
image_filename: ${{ steps.build_image.outputs.image_filename }}
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# # this might remove tools that are actually needed,
# # if set to "true" but frees about 6 GB
# tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
# # all of these default to true, but feel free to set to
# # "false" if necessary for your workflow
# android: true
# dotnet: true
# haskell: true
# large-packages: true
# docker-images: true
# swap-storage: true
- name: Maximize build space
run: |
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/share/swift
sudo rm -rf /usr/share/java
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache
sudo rm -rf /opt/az
df -h
- uses: actions/checkout@v4
- name: Extract metadata (tags, labels) for Docker
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ jobs:
- name: Upload Package Archives
uses: actions/upload-artifact@v4
env:
PACKAGE_NAME: ${{ env.PACKAGE_NAME }}
with:
name: Packages-${{ env.PACKAGE_NAME }}
path: pkgs/*.pkg.tar*
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
- name: Upload Package Archives
uses: actions/upload-artifact@v4
env:
PACKAGE_NAME: ${{ env.PACKAGE_NAME }}
with:
name: AUR-packages-${{ env.PACKAGE_NAME }}
path: aur-pkgs/*.pkg.tar*
Expand Down Expand Up @@ -103,6 +105,8 @@ jobs:
- name: Upload Package Archives
uses: actions/upload-artifact@v4
env:
PACKAGE_NAME: ${{ env.PACKAGE_NAME }}
with:
name: Packages-${{ env.PACKAGE_NAME }}
path: pkgs/*.pkg.tar*
Expand Down

0 comments on commit 3aa0b5c

Please sign in to comment.