From 4a3d1c365b4c2d3d4bf0001b4e3ecd5f86b6f876 Mon Sep 17 00:00:00 2001 From: victor7w7r <43785784+victor7w7r@users.noreply.github.com> Date: Mon, 22 Jan 2024 17:12:30 -0500 Subject: [PATCH] UpdateActionsData --- .github/workflows/main.yml | 114 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a27f0f..d267313 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: name: Compile EfiToggler for macOS Intel 64 runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: channel: 'stable' @@ -38,11 +38,11 @@ jobs: cd efitoggler_gui mkdir build/macos/Build/Products/Release/app/zip mv build/macos/Build/Products/Release/app/efitoggler_gui.zip build/macos/Build/Products/Release/app/zip - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-efitoggler_cli path: efitoggler_cli/dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-efitoggler_gui path: efitoggler_gui/build/macos/Build/Products/Release/app/zip @@ -51,7 +51,7 @@ jobs: name: Compile all linux utilites runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: channel: 'stable' @@ -114,105 +114,105 @@ jobs: cd usb_manager_gui mkdir build/linux/x64/release/bundle/zip mv build/linux/x64/release/bundle/usb_manager_gui-amd64.zip build/linux/x64/release/bundle/zip - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-rsyncer_cli-amd64 path: rsyncer_cli/dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-ext4_optimizer_cli-amd64 path: ext4_optimizer_cli/dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-usb_manager_cli-amd64 path: usb_manager_cli/dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-rsyncer_gui-amd64 path: rsyncer_gui/build/linux/x64/release/bundle/zip - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-ext4_optimizer_gui-amd64 path: ext4_optimizer_gui/build/linux/x64/release/bundle/zip - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bin-usb_manager_gui-amd64 path: usb_manager_gui/build/linux/x64/release/bundle/zip - #armlinuxcompile: - # needs: linuxcompile - #name: Compile for arm64 - #runs-on: ubuntu-18.04 - #steps: - #- uses: actions/checkout@v2 - #- uses: docker/setup-qemu-action@v2 - #- run: | - #docker run --rm \ - #--platform linux/arm64 \ - #--volume "$PWD:$PWD" \ - # --workdir "$PWD" \ - # docker.io/library/dart:latest \ - #/bin/sh -c "chmod +x arm64build && ./arm64build" - #- uses: actions/upload-artifact@v2 - #with: - #name: bin-rsyncer_cli-arm64 - #path: rsyncer_cli/dist - #- uses: actions/upload-artifact@v2 - #with: - #name: bin-ext4_optimizer_cli-arm64 - #path: ext4_optimizer_cli/dist - #- uses: actions/upload-artifact@v2 - #with: - #name: bin-usb_manager_cli-arm64 - #path: usb_manager_cli/dist + armlinuxcompile: + needs: linuxcompile + name: Compile for arm64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: docker/setup-qemu-action@v3 + - run: | + docker run --rm \ + --platform linux/arm64 \ + --volume "$PWD:$PWD" \ + --workdir "$PWD" \ + docker.io/library/dart:latest \ + /bin/sh -c "chmod +x arm64build && ./arm64build" + - uses: actions/upload-artifact@v4 + with: + name: bin-rsyncer_cli-arm64 + path: rsyncer_cli/dist + - uses: actions/upload-artifact@v4 + with: + name: bin-ext4_optimizer_cli-arm64 + path: ext4_optimizer_cli/dist + - uses: actions/upload-artifact@v4 + with: + name: bin-usb_manager_cli-arm64 + path: usb_manager_cli/dist release: - needs: linuxcompile #armlinuxcompile + needs: armlinuxcompile name: Release to Repository runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-efitoggler_cli path: bin-efcli - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-efitoggler_gui path: bin-efgui - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-rsyncer_cli-amd64 path: bin-rsycliamd64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-ext4_optimizer_cli-amd64 path: bin-extcliamd64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-usb_manager_cli-amd64 path: bin-usbcliamd64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-rsyncer_gui-amd64 path: bin-rsyguiamd64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-ext4_optimizer_gui-amd64 path: bin-extguiamd64 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: bin-usb_manager_gui-amd64 path: bin-usbguiamd64 - #- uses: actions/download-artifact@v2 - #with: - #name: bin-rsyncer_cli-arm64 - #path: bin-rsycliarm64 - #- uses: actions/download-artifact@v2 - #with: - #name: bin-ext4_optimizer_cli-arm64 - #path: bin-extcliarm64 - #- uses: actions/download-artifact@v2 - #with: - #name: bin-usb_manager_cli-arm64 - #path: bin-usbcliarm64 + - uses: actions/download-artifact@v4 + with: + name: bin-rsyncer_cli-arm64 + path: bin-rsycliarm64 + - uses: actions/download-artifact@v4 + with: + name: bin-ext4_optimizer_cli-arm64 + path: bin-extcliarm64 + - uses: actions/download-artifact@v4 + with: + name: bin-usb_manager_cli-arm64 + path: bin-usbcliarm64 - uses: softprops/action-gh-release@v1 with: draft: true