From 47226f14cb65b266b25f7b18457791919b901349 Mon Sep 17 00:00:00 2001 From: Raighne Weng Date: Thu, 26 Sep 2024 11:52:36 +0800 Subject: [PATCH] fix: PARTSIZE --- .github/workflows/main.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec44ef7..92effd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,14 +6,14 @@ name: CI on: # Triggers the workflow on push or pull request events but only for the "master" branch push: - branches: [ "master" ] + branches: ["master"] paths: - - '**' - - '!README*' - - '!changelog.txt' + - "**" + - "!README*" + - "!changelog.txt" pull_request: - branches: [ "master" ] + branches: ["master"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -33,11 +33,13 @@ jobs: # Runs a single command using the runners shell - name: Build image run: | + echo "CONFIG_TARGET_KERNEL_PARTSIZE=16" >> .env + echo "CONFIG_TARGET_ROOTFS_PARTSIZE=256" >> .env echo "PPPOE_USERNAME=123" >> modules/network/.env echo "PPPOE_PASSWORD=123" >> modules/network/.env echo "LAN_IP=192.168.1.1" >> modules/network/.env echo "CLASH_CONFIG_URL=https://gist.github.com/EkkoG/20a52db0169c4a4769689521b1c5500e/raw/cf61a9397d0bdbd5b6bbad8fbb388ec851116470/clash_example.yaml" >> modules/openclash/.env - echo "MODULES=openclash openclash-as-default" > .env + echo "MODULES=openclash openclash-as-default" >> .env ./run.sh --image=openwrt/imagebuilder:x86-64-23.05.0-rc3 ./run.sh --image=openwrt/imagebuilder:x86-64-22.03.3 - ./run.sh --image=openwrt/imagebuilder:x86-64-21.02.7 \ No newline at end of file + ./run.sh --image=openwrt/imagebuilder:x86-64-21.02.7