Compare commits
28 Commits
v2024-12-0
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
48675fbfc8 | |
|
|
4e37e8d084 | |
|
|
732b5f3844 | |
|
|
d0be16a8cb | |
|
|
e4a1159b3a | |
|
|
d24793566c | |
|
|
a34b742edd | |
|
|
d5ab5a6b2c | |
|
|
225c014e56 | |
|
|
bff723d35c | |
|
|
c80752ddf7 | |
|
|
4e0ccaf038 | |
|
|
5e08d7e060 | |
|
|
caf11ba27e | |
|
|
2e53d1b1f1 | |
|
|
de3b57e64e | |
|
|
c43892ad94 | |
|
|
71e6f55a4e | |
|
|
6c7873d959 | |
|
|
f9b26dbad4 | |
|
|
dfc88ebf8a | |
|
|
696b8de1e8 | |
|
|
b6a5ac592d | |
|
|
b317947b55 | |
|
|
68ae53cdc7 | |
|
|
7612a90e97 | |
|
|
3e51857c93 | |
|
|
99725eccb2 |
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -156,7 +156,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
@ -256,7 +256,7 @@ jobs:
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -267,7 +267,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -278,7 +278,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -289,7 +289,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -300,7 +300,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -311,7 +311,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -322,7 +322,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -333,7 +333,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,6 @@ jobs:
|
||||||
echo "NOW_DATA_VERSION=v$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
echo "NOW_DATA_VERSION=v$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||||
if [ "${{ env.DELETE_USELESS_FILES }}" == true ]
|
if [ "${{ env.DELETE_USELESS_FILES }}" == true ]
|
||||||
then
|
then
|
||||||
docker rmi node:18 node:20 node:22 node:18-alpine node:20-alpine node:22-alpine alpine:3.16 alpine:3.17 alpine:3.18 moby/buildkit:latest ubuntu:20.04 debian:10 debian:11
|
|
||||||
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php
|
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php
|
||||||
sudo -E apt-get -y autoremove --purge
|
sudo -E apt-get -y autoremove --purge
|
||||||
sudo -E apt-get clean
|
sudo -E apt-get clean
|
||||||
|
|
@ -181,7 +180,7 @@ jobs:
|
||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
|
|
@ -191,7 +190,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
@ -256,6 +255,9 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware_Diy_End
|
Firmware_Diy_End
|
||||||
|
cd ..
|
||||||
|
mkdir ${{ steps.date.outputs.date }}
|
||||||
|
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|
@ -308,93 +310,41 @@ jobs:
|
||||||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
# with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
# with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
with:
|
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
with:
|
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VHDX }}
|
|
||||||
|
|
||||||
- name: Delete VM Disk File
|
- name: Delete VM Disk File
|
||||||
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@ jobs:
|
||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
|
|
@ -180,7 +180,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
@ -299,7 +299,7 @@ jobs:
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -310,7 +310,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -321,7 +321,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -332,7 +332,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -343,7 +343,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -354,7 +354,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -365,7 +365,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -376,7 +376,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,6 @@ jobs:
|
||||||
sudo chown $USER:$GROUPS /workdir
|
sudo chown $USER:$GROUPS /workdir
|
||||||
if [ "${{ env.DELETE_USELESS_FILES }}" == true ]
|
if [ "${{ env.DELETE_USELESS_FILES }}" == true ]
|
||||||
then
|
then
|
||||||
docker rmi node:18 node:20 node:22 node:18-alpine node:20-alpine node:22-alpine alpine:3.16 alpine:3.17 alpine:3.18 moby/buildkit:latest ubuntu:20.04 debian:10 debian:11
|
|
||||||
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php
|
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php
|
||||||
sudo -E apt-get -y autoremove --purge
|
sudo -E apt-get -y autoremove --purge
|
||||||
sudo -E apt-get clean
|
sudo -E apt-get clean
|
||||||
|
|
@ -178,7 +177,7 @@ jobs:
|
||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
|
|
@ -188,7 +187,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
@ -251,6 +250,9 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware_Diy_End
|
Firmware_Diy_End
|
||||||
|
cd ..
|
||||||
|
mkdir ${{ steps.date.outputs.date }}
|
||||||
|
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|
@ -303,93 +305,41 @@ jobs:
|
||||||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
# with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
# with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
with:
|
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
with:
|
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VDI }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
|
||||||
# with:
|
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VHDX }}
|
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VHDX }}
|
|
||||||
|
|
||||||
- name: Delete VM Disk File
|
- name: Delete VM Disk File
|
||||||
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,6 @@ jobs:
|
||||||
if [ "${{ env.DELETE_USELESS_FILES }}" == true ]
|
if [ "${{ env.DELETE_USELESS_FILES }}" == true ]
|
||||||
then
|
then
|
||||||
docker images
|
docker images
|
||||||
docker rmi node:18 node:20 node:22 node:18-alpine node:20-alpine node:22-alpine alpine:3.16 alpine:3.17 alpine:3.18 moby/buildkit:latest ubuntu:20.04 debian:10 debian:11
|
|
||||||
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php
|
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php
|
||||||
sudo -E apt-get -y autoremove --purge
|
sudo -E apt-get -y autoremove --purge
|
||||||
sudo -E apt-get clean
|
sudo -E apt-get clean
|
||||||
|
|
@ -176,7 +175,7 @@ jobs:
|
||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
|
|
@ -186,7 +185,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
@ -248,6 +247,10 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware_Diy_End
|
Firmware_Diy_End
|
||||||
|
ls bin/Firmware
|
||||||
|
cd ..
|
||||||
|
mkdir ${{ steps.date.outputs.date }}
|
||||||
|
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|
@ -300,30 +303,26 @@ jobs:
|
||||||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}e/${{ env.SP_UEFI_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -334,7 +333,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -344,30 +343,26 @@ jobs:
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VHDX }}
|
# sp_file_name: ${{ env.SP_UEFI_VHDX }}
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/s3-upload-github-action@master
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
env:
|
||||||
with:
|
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||||
sp_username: ${{ secrets.USERNAME }}
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||||
sp_password: ${{ secrets.PASSWORD }}
|
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||||
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||||
sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -378,7 +373,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -392,6 +387,7 @@ jobs:
|
||||||
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
rm openwrt/bin/Firmware/AutoBuild-*.v* -rf
|
rm openwrt/bin/Firmware/AutoBuild-*.v* -rf
|
||||||
|
ls openwrt/bin/Firmware
|
||||||
|
|
||||||
- name: Upload Firmware to Github Release
|
- name: Upload Firmware to Github Release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ jobs:
|
||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
|
|
@ -176,7 +176,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
@ -291,7 +291,7 @@ jobs:
|
||||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
- name: 1 Upload SP_UEFI_IMG_GZ to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -302,7 +302,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
|
|
||||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -313,7 +313,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||||
|
|
||||||
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
# - name: 3 Upload SP_UEFI_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -324,7 +324,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||||
|
|
||||||
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
# - name: 4 Upload SP_UEFI_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -335,7 +335,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VHDX }}
|
||||||
|
|
||||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -346,7 +346,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
|
|
||||||
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
- name: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||||
uses: su-dont/share-point-uploader@v2.1
|
uses: xopenwrt/share-point-uploader@v2.3
|
||||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -357,7 +357,7 @@ jobs:
|
||||||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||||
|
|
||||||
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
# - name: 7 Upload SP_LEGACY_VDI to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
@ -368,7 +368,7 @@ jobs:
|
||||||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||||
|
|
||||||
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
# - name: 8 Upload SP_LEGACY_VHDX to SharePoint
|
||||||
# uses: su-dont/share-point-uploader@v2.1
|
# uses: xopenwrt/share-point-uploader@v2.3
|
||||||
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
# if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
# with:
|
# with:
|
||||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ jobs:
|
||||||
./scripts/feeds uninstall luci-theme-argon
|
./scripts/feeds uninstall luci-theme-argon
|
||||||
# Update golang to 1.22 for xray-core build
|
# Update golang to 1.22 for xray-core build
|
||||||
rm -rf feeds/packages/lang/golang
|
rm -rf feeds/packages/lang/golang
|
||||||
git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
|
git clone https://github.com/sbwml/packages_lang_golang -b 25.x feeds/packages/lang/golang
|
||||||
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
# sed -i 's/^\s*$[(]call\sEnsureVendoredVersion/#&/' $GITHUB_WORKSPACE/openwrt/feeds/packages/utils/dockerd/Makefile
|
||||||
#fix dockerd bug
|
#fix dockerd bug
|
||||||
|
|
||||||
|
|
@ -176,7 +176,7 @@ jobs:
|
||||||
cd openwrt
|
cd openwrt
|
||||||
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
if [ "${{ env.CACHE_ACCELERATE }}" == true ]
|
||||||
then
|
then
|
||||||
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=y\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
echo -e "\nCONFIG_DEVEL=y\nCONFIG_CCACHE=n\n" >> $GITHUB_WORKSPACE/Configs/$CONFIG_FILE
|
||||||
fi
|
fi
|
||||||
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,11 @@ CONFIG_PACKAGE_hostapd-common=y
|
||||||
CONFIG_PACKAGE_wpa-supplicant=y
|
CONFIG_PACKAGE_wpa-supplicant=y
|
||||||
|
|
||||||
# Theme
|
# Theme
|
||||||
CONFIG_PACKAGE_luci-theme-atmaterial-ColorIcon=y
|
|
||||||
# CONFIG_PACKAGE_luci-theme-edge=y
|
#
|
||||||
# # CONFIG_PACKAGE_luci-theme-argon is not set
|
# # CONFIG_PACKAGE_luci-theme-argon is not set
|
||||||
# CONFIG_PACKAGE_luci-theme-argon-mod=y
|
# CONFIG_PACKAGE_luci-theme-argon-mod=y
|
||||||
# CONFIG_PACKAGE_luci-theme-neobird=y
|
# # CONFIG_PACKAGE_luci-theme-neobird is not set
|
||||||
# passwall
|
# passwall
|
||||||
# CONFIG_PACKAGE_luci-app-passwall=y
|
# CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
# # Adguard Home
|
# # Adguard Home
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,14 @@ CONFIG_PACKAGE_luci-lib-docker=y
|
||||||
# Hello World
|
# Hello World
|
||||||
# CONFIG_PACKAGE_luci-app-vssr=y
|
# CONFIG_PACKAGE_luci-app-vssr=y
|
||||||
# KERNEL_PATCHVER:=6.6
|
# KERNEL_PATCHVER:=6.6
|
||||||
# KERNEL_TESTING_PATCHVER:=6.1
|
# KERNEL_TESTING_PATCHVER:=6.12
|
||||||
CONFIG_TESTING_KERNEL=y
|
# CONFIG_TESTING_KERNEL=y
|
||||||
# Theme
|
# Theme
|
||||||
CONFIG_PACKAGE_luci-theme-atmaterial-ColorIcon=y
|
|
||||||
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||||
CONFIG_PACKAGE_luci-theme-material=y
|
CONFIG_PACKAGE_luci-theme-material=y
|
||||||
CONFIG_PACKAGE_luci-theme-neobird=y
|
# CONFIG_PACKAGE_luci-theme-neobird is not set
|
||||||
CONFIG_PACKAGE_luci-theme-edge=y
|
|
||||||
|
|
||||||
# wifi
|
# wifi
|
||||||
# 7625d Adapter
|
# 7625d Adapter
|
||||||
|
|
@ -124,7 +124,7 @@ CONFIG_PACKAGE_luci-app-nfs=y
|
||||||
CONFIG_PACKAGE_luci-app-npc=y
|
CONFIG_PACKAGE_luci-app-npc=y
|
||||||
CONFIG_PACKAGE_luci-app-openclash=y
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
CONFIG_PACKAGE_luci-app-onliner=y
|
CONFIG_PACKAGE_luci-app-onliner=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall2=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
CONFIG_PACKAGE_luci-app-pptp-server=y
|
CONFIG_PACKAGE_luci-app-pptp-server=y
|
||||||
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||||
# CONFIG_PACKAGE_luci-app-qbittorrent_dynamic is not set
|
# CONFIG_PACKAGE_luci-app-qbittorrent_dynamic is not set
|
||||||
|
|
|
||||||
|
|
@ -5,16 +5,16 @@ CONFIG_PACKAGE_smartdns=y
|
||||||
CONFIG_PACKAGE_luci-app-smartdns=y
|
CONFIG_PACKAGE_luci-app-smartdns=y
|
||||||
CONFIG_PACKAGE_luci-i18n-smartdns-zh-cn=y
|
CONFIG_PACKAGE_luci-i18n-smartdns-zh-cn=y
|
||||||
# KERNEL_PATCHVER:=6.6
|
# KERNEL_PATCHVER:=6.6
|
||||||
# KERNEL_TESTING_PATCHVER:=6.1
|
# KERNEL_TESTING_PATCHVER:=6.12
|
||||||
CONFIG_TESTING_KERNEL=y
|
# CONFIG_TESTING_KERNEL=y
|
||||||
# Theme
|
# Theme
|
||||||
CONFIG_PACKAGE_luci-theme-atmaterial-ColorIcon=y
|
|
||||||
# CONFIG_PACKAGE_luci-theme-argon is not set
|
# CONFIG_PACKAGE_luci-theme-argon is not set
|
||||||
CONFIG_PACKAGE_luci-theme-argon-mod=y
|
CONFIG_PACKAGE_luci-theme-argon-mod=y
|
||||||
CONFIG_PACKAGE_luci-theme-neobird=y
|
# CONFIG_PACKAGE_luci-theme-neobird is not set
|
||||||
CONFIG_PACKAGE_luci-theme-edge=y
|
|
||||||
# passwall
|
# passwall
|
||||||
CONFIG_PACKAGE_luci-app-passwall2=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
# Adguard Home
|
# Adguard Home
|
||||||
CONFIG_PACKAGE_luci-app-adguardhome=y
|
CONFIG_PACKAGE_luci-app-adguardhome=y
|
||||||
CONFIG_PACKAGE_adguardhome=y
|
CONFIG_PACKAGE_adguardhome=y
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,16 @@ CONFIG_IB=y
|
||||||
CONFIG_IB_STANDALONE=y
|
CONFIG_IB_STANDALONE=y
|
||||||
|
|
||||||
# KERNEL_PATCHVER:=6.6
|
# KERNEL_PATCHVER:=6.6
|
||||||
# KERNEL_TESTING_PATCHVER:=6.1
|
# KERNEL_TESTING_PATCHVER:=6.12
|
||||||
CONFIG_TESTING_KERNEL=y
|
# CONFIG_TESTING_KERNEL=y
|
||||||
# Theme
|
# Theme
|
||||||
CONFIG_PACKAGE_luci-theme-atmaterial-ColorIcon=y
|
|
||||||
CONFIG_PACKAGE_luci-theme-edge=y
|
|
||||||
# CONFIG_PACKAGE_luci-theme-argon is not set
|
# CONFIG_PACKAGE_luci-theme-argon is not set
|
||||||
CONFIG_PACKAGE_luci-theme-argon-mod=y
|
CONFIG_PACKAGE_luci-theme-argon-mod=y
|
||||||
CONFIG_PACKAGE_luci-theme-neobird=y
|
# CONFIG_PACKAGE_luci-theme-neobird is not set
|
||||||
# passwall
|
# passwall
|
||||||
CONFIG_PACKAGE_luci-app-passwall2=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
# Adguard Home
|
# Adguard Home
|
||||||
CONFIG_PACKAGE_luci-app-adguardhome=y
|
CONFIG_PACKAGE_luci-app-adguardhome=y
|
||||||
CONFIG_PACKAGE_adguardhome=y
|
CONFIG_PACKAGE_adguardhome=y
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,11 @@ CONFIG_IB_STANDALONE=y
|
||||||
# KERNEL_TESTING_PATCHVER:=6.1
|
# KERNEL_TESTING_PATCHVER:=6.1
|
||||||
CONFIG_TESTING_KERNEL=y
|
CONFIG_TESTING_KERNEL=y
|
||||||
# Theme
|
# Theme
|
||||||
CONFIG_PACKAGE_luci-theme-atmaterial-ColorIcon=y
|
|
||||||
CONFIG_PACKAGE_luci-theme-edge=y
|
|
||||||
# CONFIG_PACKAGE_luci-theme-argon is not set
|
# CONFIG_PACKAGE_luci-theme-argon is not set
|
||||||
CONFIG_PACKAGE_luci-theme-argon-mod=y
|
CONFIG_PACKAGE_luci-theme-argon-mod=y
|
||||||
CONFIG_PACKAGE_luci-theme-neobird=y
|
# CONFIG_PACKAGE_luci-theme-neobird is not set
|
||||||
# passwall
|
# passwall
|
||||||
CONFIG_PACKAGE_luci-app-passwall2=y
|
CONFIG_PACKAGE_luci-app-passwall2=y
|
||||||
# Adguard Home
|
# Adguard Home
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ EOF
|
||||||
done ; unset i
|
done ; unset i
|
||||||
|
|
||||||
AddPackage svn apps minieap immortalwrt openwrt-18.06 packages net
|
AddPackage svn apps minieap immortalwrt openwrt-18.06 packages net
|
||||||
AddPackage git other luci-theme-atmaterial-ColorIcon esirplayground master
|
# AddPackage git other luci-theme-atmaterial-ColorIcon esirplayground master
|
||||||
AddPackage git lean luci-app-argon-config jerrykuku master
|
AddPackage git lean luci-app-argon-config jerrykuku master
|
||||||
AddPackage git other OpenClash vernesong master
|
AddPackage git other OpenClash vernesong master
|
||||||
# AddPackage git other luci-app-vssr jerrykuku master
|
# AddPackage git other luci-app-vssr jerrykuku master
|
||||||
|
|
@ -123,7 +123,7 @@ EOF
|
||||||
sed -i -- 's:/bin/ash:'/bin/bash':g' ${BASE_FILES}/etc/passwd
|
sed -i -- 's:/bin/ash:'/bin/bash':g' ${BASE_FILES}/etc/passwd
|
||||||
#sed -i "s?6.0?5.19?g" ${WORK}/target/linux/x86/Makefile
|
#sed -i "s?6.0?5.19?g" ${WORK}/target/linux/x86/Makefile
|
||||||
# patch < ${CustomFiles}/Patches/upgrade_intel_igpu_drv.patch -p1 -d ${WORK}
|
# patch < ${CustomFiles}/Patches/upgrade_intel_igpu_drv.patch -p1 -d ${WORK}
|
||||||
patch < ${CustomFiles}/Patches/fix_mac80211.patch -p1 -d ${WORK}
|
# patch < ${CustomFiles}/Patches/fix_mac80211.patch -p1 -d ${WORK}
|
||||||
#fix hostapd
|
#fix hostapd
|
||||||
sed -i "s/\#CONFIG_AP/CONFIG_AP/g" ${WORK}/package/network/services/hostapd/files/wpa*
|
sed -i "s/\#CONFIG_AP/CONFIG_AP/g" ${WORK}/package/network/services/hostapd/files/wpa*
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,11 @@ Firmware_Diy_Before() {
|
||||||
fi
|
fi
|
||||||
case "${OP_AUTHOR}/${OP_REPO}" in
|
case "${OP_AUTHOR}/${OP_REPO}" in
|
||||||
coolsnowwolf/lede)
|
coolsnowwolf/lede)
|
||||||
|
# Version_File=package/lean/default-settings/files/zzz-default-settings
|
||||||
|
# zzz_Default_Version="$(egrep -o "R[0-9]+\.[0-9]+\.[0-9]+" ${Version_File})"
|
||||||
Version_File=package/lean/default-settings/files/zzz-default-settings
|
Version_File=package/lean/default-settings/files/zzz-default-settings
|
||||||
zzz_Default_Version="$(egrep -o "R[0-9]+\.[0-9]+\.[0-9]+" ${Version_File})"
|
Version_Raw=$(cat package/lean/default-settings/files/zzz-default-settings | grep DISTRIB_REVISION)
|
||||||
|
zzz_Default_Version="$(echo $Version_Raw | egrep -o "R[0-9]+\.[0-9]+\.[0-9]+")"
|
||||||
OP_VERSION="${zzz_Default_Version}-${Compile_Date}"
|
OP_VERSION="${zzz_Default_Version}-${Compile_Date}"
|
||||||
;;
|
;;
|
||||||
immortalwrt/immortalwrt)
|
immortalwrt/immortalwrt)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,8 @@ df -h
|
||||||
echo "------------------------------- IP Address Info ------------------------------"
|
echo "------------------------------- IP Address Info ------------------------------"
|
||||||
IP=`curl ip.115115.xyz -s`
|
IP=`curl ip.115115.xyz -s`
|
||||||
curl ip.115115.xyz -s
|
curl ip.115115.xyz -s
|
||||||
curl -s https://searchplugin.csdn.net/api/v1/ip/get?ip=${IP} | jq -r .data.address
|
# curl -s https://searchplugin.csdn.net/api/v1/ip/get?ip=${IP} | jq -r .data.address
|
||||||
|
curl -s https://api.vore.top/api/IPdata?ip=${IP} | jq -r .adcode.o
|
||||||
}
|
}
|
||||||
|
|
||||||
Get_Release_Info() {
|
Get_Release_Info() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue