update ISO workflow to get flatpaks from common (#6)

This commit is contained in:
inffy 2026-01-11 17:50:41 +02:00 committed by GitHub
parent d25d9e2d56
commit 19c4c04f67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,12 @@ jobs:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Checkout common repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
repository: get-aurora-dev/common
path: common
- name: Setup Just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
@ -71,8 +77,7 @@ jobs:
run: |
set -eoux pipefail
FILE_LIST="$(mktemp)"
git clone https://github.com/get-aurora-dev/common.git common
find common -iname "*system-flatpaks.Brewfile" -exec cat '{}' ';' | grep -v '#' | grep -F -e "flatpak" | sed 's/flatpak //' | tr -d '"' | tee "${FILE_LIST}"
cat common/system_files/shared/usr/share/ublue-os/homebrew/system-flatpaks.Brewfile | grep -v '#' | grep -F -e "flatpak" | sed 's/flatpak //' | tr -d '"' | tee "${FILE_LIST}"
echo "file_list_path=${FILE_LIST}" | tee "${GITHUB_OUTPUT}"
- name: Build ISO
@ -121,4 +126,4 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y rclone
rclone copy "${SOURCE_DIR}" R2:aurora-dl
rclone copy "${SOURCE_DIR}" R2:aurora-dl