From 0233d66ce25488819f9f79c1186031d4c062abb3 Mon Sep 17 00:00:00 2001 From: f0reachARR Date: Wed, 18 Sep 2024 20:06:16 +0900 Subject: [PATCH] Use new CI --- .github/workflows/build.yml | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b9a73f..616a378 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,14 @@ jobs: with: tool-cache: false + - name: Change data-dir + run: | + sudo systemctl stop docker + sudo rm -rf /var/lib/docker + sudo mkdir /mnt/docker + sudo ln -s /mnt/docker /var/lib/docker + sudo systemctl start docker + - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -31,34 +39,9 @@ jobs: vcs import external < dependency.repos vcs pull external - - name: Pull docker images - run: | - docker pull ghcr.io/fortefibre/buildroot:humble-amd64 - - - name: Build amd64 packages - uses: ForteFibre/fortefibre_github_action/create_debian_packages@main - with: - rosdistro: humble - platform: amd64 - out_dir: "./debs" - - - name: Pull docker images - run: | - docker rmi ghcr.io/fortefibre/buildroot:humble-amd64 - docker system prune -f - docker pull --platform linux/arm64/v8 ghcr.io/fortefibre/buildroot:humble-aarch64 - - - name: Build amd64 packages - uses: ForteFibre/fortefibre_github_action/create_debian_packages@main - with: - rosdistro: humble - platform: aarch64 - out_dir: "./debs" - - - name: Update APT repository - uses: ForteFibre/fortefibre_github_action/update_apt_repo@main + - name: Build and publish packages + uses: ForteFibre/fortefibre_github_action/create_debian_packages_batch@main with: - input_dir: "./debs" s3_bucket: "fortefibre-apt" s3_access_key_id: ${{ secrets.S3_KEY_ID }} s3_access_key_secret: ${{ secrets.S3_KEY_SECRET }}