Compare commits
14 Commits
v2025-11-2
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
48675fbfc8 | |
|
|
4e37e8d084 | |
|
|
732b5f3844 | |
|
|
d0be16a8cb | |
|
|
e4a1159b3a | |
|
|
d24793566c | |
|
|
a34b742edd | |
|
|
d5ab5a6b2c | |
|
|
225c014e56 | |
|
|
bff723d35c | |
|
|
c80752ddf7 | |
|
|
4e0ccaf038 | |
|
|
5e08d7e060 | |
|
|
caf11ba27e |
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: Download Github Release API
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
|
||||
- name: Upload API to Github Release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ jobs:
|
|||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||
|
||||
- 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'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -267,7 +267,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||
|
||||
- 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'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -278,7 +278,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -289,7 +289,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -300,7 +300,7 @@ jobs:
|
|||
# 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
|
||||
uses: xopenwrt/share-point-uploader@v2.3
|
||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -311,7 +311,7 @@ jobs:
|
|||
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
|
||||
uses: xopenwrt/share-point-uploader@v2.3
|
||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -322,7 +322,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -333,7 +333,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
|
|||
|
|
@ -255,6 +255,9 @@ jobs:
|
|||
cd openwrt
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware_Diy_End
|
||||
cd ..
|
||||
mkdir ${{ steps.date.outputs.date }}
|
||||
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||
|
||||
- name: Upload Firmware to Artifacts
|
||||
uses: actions/upload-artifact@main
|
||||
|
|
@ -307,93 +310,41 @@ jobs:
|
|||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||
|
||||
- name: 1 Upload SP_UEFI_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_UEFI_IMG_GZ }}
|
||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
- name: 2 Upload SP_UEFI_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_UEFI_VMDK }}
|
||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_VMDK }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
# - name: 3 Upload SP_UEFI_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_UEFI_VDI }}
|
||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
# - name: 4 Upload SP_UEFI_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_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: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
- name: Delete VM Disk File
|
||||
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ jobs:
|
|||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||
|
||||
- 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'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -310,7 +310,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||
|
||||
- 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'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -321,7 +321,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -332,7 +332,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -343,7 +343,7 @@ jobs:
|
|||
# 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
|
||||
uses: xopenwrt/share-point-uploader@v2.3
|
||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -354,7 +354,7 @@ jobs:
|
|||
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
|
||||
uses: xopenwrt/share-point-uploader@v2.3
|
||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -365,7 +365,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -376,7 +376,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
|
|||
|
|
@ -250,6 +250,9 @@ jobs:
|
|||
cd openwrt
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware_Diy_End
|
||||
cd ..
|
||||
mkdir ${{ steps.date.outputs.date }}
|
||||
cp openwrt/bin/Firmware/* ./${{ steps.date.outputs.date }} -r
|
||||
|
||||
- name: Upload Firmware to Artifacts
|
||||
uses: actions/upload-artifact@main
|
||||
|
|
@ -302,93 +305,41 @@ jobs:
|
|||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||
|
||||
- name: 1 Upload SP_UEFI_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_UEFI_IMG_GZ }}
|
||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
- name: 2 Upload SP_UEFI_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_UEFI_VMDK }}
|
||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_VMDK }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
# - name: 3 Upload SP_UEFI_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_UEFI_VDI }}
|
||||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||
- name: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
# - name: 4 Upload SP_UEFI_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_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: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
- name: Delete VM Disk File
|
||||
if: env.Release=='true' && env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
|
|
|
|||
|
|
@ -248,6 +248,9 @@ jobs:
|
|||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
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
|
||||
uses: actions/upload-artifact@main
|
||||
|
|
@ -300,30 +303,26 @@ jobs:
|
|||
echo SP_LEGACY_VDI=$(echo $SP_LEGACY_VDI) >> $GITHUB_ENV
|
||||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||
|
||||
- name: 1 Upload SP_UEFI_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_UEFI_IMG_GZ }}
|
||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||
- name: 1 Upload SP_UEFI_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_UEFI_IMG_GZ }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
- name: 2 Upload SP_UEFI_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_UEFI_VMDK }}
|
||||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||
- name: 2 Upload SP_UEFI_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}e/${{ env.SP_UEFI_VMDK }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -334,7 +333,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -344,30 +343,26 @@ jobs:
|
|||
# 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: 5 Upload SP_LEGACY_IMG_GZ to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_IMG_GZ }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
- 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: 6 Upload SP_LEGACY_VMDK to SharePoint
|
||||
uses: xopenwrt/s3-upload-github-action@master
|
||||
env:
|
||||
FILE: ./${{ steps.date.outputs.date }}/${{ env.SP_LEGACY_VMDK }}
|
||||
S3_ENDPOINT: 's3.openwrt.115115.xyz'
|
||||
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
||||
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
|
||||
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -378,7 +373,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ jobs:
|
|||
echo SP_LEGACY_VHDX=$(echo $SP_LEGACY_VHDX) >> $GITHUB_ENV
|
||||
|
||||
- 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'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -302,7 +302,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||
|
||||
- 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'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -313,7 +313,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -324,7 +324,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_UEFI_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -335,7 +335,7 @@ jobs:
|
|||
# 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
|
||||
uses: xopenwrt/share-point-uploader@v2.3
|
||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -346,7 +346,7 @@ jobs:
|
|||
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
|
||||
uses: xopenwrt/share-point-uploader@v2.3
|
||||
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||
with:
|
||||
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -357,7 +357,7 @@ jobs:
|
|||
file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
@ -368,7 +368,7 @@ jobs:
|
|||
# file: openwrt/bin/Firmware/${{ env.SP_LEGACY_VDI }}
|
||||
|
||||
# - 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'
|
||||
# with:
|
||||
# sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||
|
|
|
|||
Loading…
Reference in New Issue