Update main.yml
This commit is contained in:
31
.github/workflows/main.yml
vendored
31
.github/workflows/main.yml
vendored
@@ -37,49 +37,30 @@ jobs:
|
|||||||
mkdir friendlywrt-h5
|
mkdir friendlywrt-h5
|
||||||
cd friendlywrt-h5
|
cd friendlywrt-h5
|
||||||
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
repo init -u https://github.com/friendlyarm/friendlywrt_manifests -b master -m h5.xml --repo-url=https://github.com/friendlyarm/repo --no-clone-bundle
|
||||||
|
|
||||||
- name: Merge UpStearm OpenWrt
|
- name: Merge UpStearm OpenWrt
|
||||||
run: |
|
run: |
|
||||||
cd friendlywrt-h5
|
cd friendlywrt-h5
|
||||||
cd .repo/manifests
|
rm -f .repo/manifests/h5.xml
|
||||||
rm -f ./h5.xml
|
cp ../original.xml .repo/manifests/h5.xml
|
||||||
wget https://raw.githubusercontent.com/camino13/NanoPi-R1S/master/h5.xml
|
|
||||||
repo sync -c --no-clone-bundle
|
repo sync -c --no-clone-bundle
|
||||||
|
|
||||||
- name: Merge LEDE
|
|
||||||
run: |
|
|
||||||
cd friendlywrt-h5
|
|
||||||
git clone https://github.com/coolsnowwolf/lede
|
|
||||||
cd friendlywrt
|
|
||||||
cp -r ../lede/package/lean package/
|
|
||||||
sed -i 's/http.*luci.*/https:\/\/github.com\/coolsnowwolf\/luci/' feeds.conf.default
|
|
||||||
sed -i 's/http.*feed\/packages.*/https:\/\/github.com\/coolsnowwolf\/packages/' feeds.conf.default
|
|
||||||
|
|
||||||
- name: Update Target.mk
|
- name: Update Target.mk
|
||||||
run: |
|
run: |
|
||||||
cd friendlywrt-h5/friendlywrt/include
|
cd friendlywrt-h5/
|
||||||
sed -i 's/dnsmasq /dnsmasq-full default-settings luci/' target.mk
|
sed -i 's/dnsmasq /dnsmasq-full /' friendlywrt/include/target.mk
|
||||||
|
|
||||||
- name: Update Feeds
|
- name: Update Feeds
|
||||||
run: |
|
run: |
|
||||||
cd friendlywrt-h5/friendlywrt
|
cd friendlywrt-h5/friendlywrt
|
||||||
./scripts/feeds update -a
|
./scripts/feeds update -a
|
||||||
./scripts/feeds install -a
|
./scripts/feeds install -a
|
||||||
|
|
||||||
- name: Custom Configure File
|
|
||||||
run: |
|
|
||||||
cd friendlywrt-h5/friendlywrt
|
|
||||||
rm -f ./.config*
|
|
||||||
wget https://raw.githubusercontent.com/camino13/NanoPi-R1S/master/r1s-h5-config
|
|
||||||
cp r1s-h5-config .config
|
|
||||||
|
|
||||||
- name: Download package
|
- name: Download package
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
cd friendlywrt-h5/friendlywrt
|
cd friendlywrt-h5/friendlywrt
|
||||||
make download -j8
|
make download -j8
|
||||||
find dl -size -1024c -exec ls -l {} \;
|
|
||||||
find dl -size -1024c -exec rm -f {} \;
|
|
||||||
|
|
||||||
- name: Build FriendlyWrt
|
- name: Build FriendlyWrt
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user