mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-18 08:20:11 +00:00
workflows: 优化 Function 名称
This commit is contained in:
@@ -104,8 +104,8 @@ jobs:
|
|||||||
make defconfig > /dev/null 2>&1
|
make defconfig > /dev/null 2>&1
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware-Diy_Base
|
Firmware-Diy_Main
|
||||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE && Firmware-Diy
|
||||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
|
|
||||||
- name: SSH Connection to Actions
|
- name: SSH Connection to Actions
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export Compile_Result=false
|
export Compile_Result=false
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Other_Scripts
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_Other
|
||||||
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
||||||
make defconfig
|
make defconfig
|
||||||
make download -j$(nproc)
|
make download -j$(nproc)
|
||||||
@@ -131,7 +131,7 @@ jobs:
|
|||||||
if: env.Compile_Result == 'true' && !cancelled()
|
if: env.Compile_Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && PS_Firmware
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_End
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|||||||
@@ -107,15 +107,15 @@ jobs:
|
|||||||
make defconfig > /dev/null 2>&1
|
make defconfig > /dev/null 2>&1
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware-Diy_Base
|
Firmware-Diy_Main
|
||||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE && Firmware-Diy
|
||||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
export Compile_Result=false
|
export Compile_Result=false
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Other_Scripts
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_Other
|
||||||
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
||||||
make defconfig
|
make defconfig
|
||||||
make download -j$(nproc)
|
make download -j$(nproc)
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
if: env.Compile_Result == 'true' && !cancelled()
|
if: env.Compile_Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && PS_Firmware
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_End
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|||||||
@@ -107,15 +107,15 @@ jobs:
|
|||||||
make defconfig > /dev/null 2>&1
|
make defconfig > /dev/null 2>&1
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware-Diy_Base
|
Firmware-Diy_Main
|
||||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE && Firmware-Diy
|
||||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
export Compile_Result=false
|
export Compile_Result=false
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Other_Scripts
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_Other
|
||||||
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
||||||
make defconfig
|
make defconfig
|
||||||
make download -j$(nproc)
|
make download -j$(nproc)
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
if: env.Compile_Result == 'true' && !cancelled()
|
if: env.Compile_Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && PS_Firmware
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_End
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|||||||
@@ -107,15 +107,15 @@ jobs:
|
|||||||
make defconfig > /dev/null 2>&1
|
make defconfig > /dev/null 2>&1
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware-Diy_Base
|
Firmware-Diy_Main
|
||||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE && Firmware-Diy
|
||||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
export Compile_Result=false
|
export Compile_Result=false
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Other_Scripts
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_Other
|
||||||
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
||||||
make defconfig
|
make defconfig
|
||||||
make download -j$(nproc)
|
make download -j$(nproc)
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
if: env.Compile_Result == 'true' && !cancelled()
|
if: env.Compile_Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && PS_Firmware
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_End
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|||||||
@@ -107,15 +107,15 @@ jobs:
|
|||||||
make defconfig > /dev/null 2>&1
|
make defconfig > /dev/null 2>&1
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware-Diy_Base
|
Firmware-Diy_Main
|
||||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE && Firmware-Diy
|
||||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
export Compile_Result=false
|
export Compile_Result=false
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Other_Scripts
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_Other
|
||||||
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
||||||
make defconfig
|
make defconfig
|
||||||
make download -j$(nproc)
|
make download -j$(nproc)
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
if: env.Compile_Result == 'true' && !cancelled()
|
if: env.Compile_Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && PS_Firmware
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_End
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|||||||
@@ -107,15 +107,15 @@ jobs:
|
|||||||
make defconfig > /dev/null 2>&1
|
make defconfig > /dev/null 2>&1
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware-Diy_Base
|
Firmware-Diy_Main
|
||||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE && Firmware-Diy
|
||||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
export Compile_Result=false
|
export Compile_Result=false
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Other_Scripts
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_Other
|
||||||
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
||||||
make defconfig
|
make defconfig
|
||||||
make download -j$(nproc)
|
make download -j$(nproc)
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
if: env.Compile_Result == 'true' && !cancelled()
|
if: env.Compile_Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && PS_Firmware
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_End
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|||||||
@@ -107,15 +107,15 @@ jobs:
|
|||||||
make defconfig > /dev/null 2>&1
|
make defconfig > /dev/null 2>&1
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||||
Firmware-Diy_Base
|
Firmware-Diy_Main
|
||||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE && Firmware-Diy
|
||||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE .config
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
export Compile_Result=false
|
export Compile_Result=false
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Other_Scripts
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_Other
|
||||||
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
rm -rf ./tmp && ./scripts/feeds install -a > /dev/null 2>&1
|
||||||
make defconfig
|
make defconfig
|
||||||
make download -j$(nproc)
|
make download -j$(nproc)
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
if: env.Compile_Result == 'true' && !cancelled()
|
if: env.Compile_Result == 'true' && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
cd openwrt
|
cd openwrt
|
||||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && PS_Firmware
|
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh && Firmware-Diy_End
|
||||||
|
|
||||||
- name: Upload Firmware to Artifacts
|
- name: Upload Firmware to Artifacts
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|||||||
Reference in New Issue
Block a user