Skip to content

Commit

Permalink
UpdateActionsData
Browse files Browse the repository at this point in the history
  • Loading branch information
victor7w7r committed Jan 22, 2024
1 parent deeec30 commit 4a3d1c3
Showing 1 changed file with 57 additions and 57 deletions.
114 changes: 57 additions & 57 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4a3d1c3

Please sign in to comment.