File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -69,18 +69,31 @@ jobs:
69
69
- uses : actions/download-artifact@v3
70
70
with :
71
71
name : luci-theme-argon
72
- - name : Run Make
72
+ - name : Prepare Passwall
73
73
run : |
74
- apt update
75
- apt upgrade -y
76
- apt install git -y
77
74
export VOLUME_HOME=$(pwd)
78
75
cd /home/build/openwrt
79
76
mv $VOLUME_HOME/passwall.tar.gz packages
80
77
pushd packages
81
78
tar zxvf passwall.tar.gz
82
79
rm passwall.tar.gz
83
80
popd
81
+ - name : Prepare Argon
82
+ run : |
83
+ export VOLUME_HOME=$(pwd)
84
+ cd /home/build/openwrt
85
+ mv $VOLUME_HOME/luci-theme-argon.tar.gz packages
86
+ pushd packages
87
+ tar zxvf luci-theme-argon.tar.gz
88
+ rm luci-theme-argon.tar.gz
89
+ popd
90
+ - name : Debug Print
91
+ run : |
92
+ ls -alh /home/build/openwrt/packages
93
+ - name : Make Image
94
+ run : |
95
+ export VOLUME_HOME=$(pwd)
96
+ cd /home/build/openwrt
84
97
chown -R build:build packages
85
98
sudo -u build sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=[0-9]\+/CONFIG_TARGET_ROOTFS_PARTSIZE=1024/g;s/CONFIG_TARGET_KERNEL_PARTSIZE=[0-9]\+/CONFIG_TARGET_KERNEL_PARTSIZE=256/g" .config
86
99
sudo -u build make image PROFILE=generic PACKAGES="luci luci-app-qos luci-app-upnp luci-proto-ipv6 kmod-igc luci-i18n-base-zh-cn netdata luci-app-passwall luci-theme-argon -dnsmasq"
90
103
with :
91
104
name : openwrt
92
105
path : openwrt-x86-64-master.tar.gz
93
-
94
-
95
-
You can’t perform that action at this time.
0 commit comments