Test
This commit is contained in:
parent
b850cfbf38
commit
0df854059e
|
@ -270,48 +270,27 @@ 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: cringdahl/sharepoint-file-upload-action@1.0.0
|
uses: su-dont/share-point-uploader@v2.1
|
||||||
|
if: env.SharePoint=='true' && !cancelled() && env.Result == 'true'
|
||||||
with:
|
with:
|
||||||
file_path: "openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}"
|
sp_url: https://xinbyte.sharepoint.com/:f:/r/sites/OpenWrt
|
||||||
host_name: 'xinbyte.sharepoint.com'
|
sp_username: ${{ secrets.USERNAME }}
|
||||||
site_name: 'OpenWrt'
|
sp_password: ${{ secrets.PASSWORD }}
|
||||||
upload_path: 'OpenWrt/${{ steps.date.outputs.date }}'
|
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
||||||
tenant_id: ${{ secrets.SHAREPOINT_TENANT_ID }}
|
sp_file_name: ${{ env.SP_UEFI_IMG_GZ }}
|
||||||
client_id: ${{ secrets.SHAREPOINT_CLIENT_ID }}
|
file: openwrt/bin/Firmware/${{ env.SP_UEFI_IMG_GZ }}
|
||||||
client_secret: ${{ secrets.SHAREPOINT_CLIENT_SECRET }}
|
|
||||||
|
|
||||||
# - 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: 2 Upload SP_UEFI_VMDK to SharePoint
|
|
||||||
uses: cringdahl/sharepoint-file-upload-action@1.0.0
|
|
||||||
with:
|
|
||||||
file_path: "openwrt/bin/Firmware/${{ env.SP_UEFI_VMDK }}"
|
|
||||||
host_name: 'xinbyte.sharepoint.com'
|
|
||||||
site_name: 'OpenWrt'
|
|
||||||
upload_path: 'OpenWrt/${{ steps.date.outputs.date }}'
|
|
||||||
tenant_id: ${{ secrets.SHAREPOINT_TENANT_ID }}
|
|
||||||
client_id: ${{ secrets.SHAREPOINT_CLIENT_ID }}
|
|
||||||
client_secret: ${{ secrets.SHAREPOINT_CLIENT_SECRET }}
|
|
||||||
|
|
||||||
# - 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: su-dont/share-point-uploader@v2.1
|
||||||
# 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
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
sp_username: ${{ secrets.USERNAME }}
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
sp_password: ${{ secrets.PASSWORD }}
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
||||||
# sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
sp_file_name: ${{ env.SP_UEFI_VMDK }}
|
||||||
# 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: su-dont/share-point-uploader@v2.1
|
||||||
|
@ -334,48 +313,27 @@ jobs:
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
||||||
# 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_UEFI_VMDK to SharePoint
|
|
||||||
uses: cringdahl/sharepoint-file-upload-action@1.0.0
|
|
||||||
with:
|
|
||||||
file_path: "openwrt/bin/Firmware/${{ env.SP_LEGACY_IMG_GZ }}"
|
|
||||||
host_name: 'xinbyte.sharepoint.com'
|
|
||||||
site_name: 'OpenWrt'
|
|
||||||
upload_path: 'OpenWrt/${{ steps.date.outputs.date }}'
|
|
||||||
tenant_id: ${{ secrets.SHAREPOINT_TENANT_ID }}
|
|
||||||
client_id: ${{ secrets.SHAREPOINT_CLIENT_ID }}
|
|
||||||
client_secret: ${{ secrets.SHAREPOINT_CLIENT_SECRET }}
|
|
||||||
|
|
||||||
- name: 6 Upload SP_UEFI_VMDK to SharePoint
|
|
||||||
uses: cringdahl/sharepoint-file-upload-action@1.0.0
|
|
||||||
with:
|
|
||||||
file_path: "openwrt/bin/Firmware/${{ env.SP_LEGACY_VMDK }}"
|
|
||||||
host_name: 'xinbyte.sharepoint.com'
|
|
||||||
site_name: 'OpenWrt'
|
|
||||||
upload_path: 'OpenWrt/${{ steps.date.outputs.date }}'
|
|
||||||
tenant_id: ${{ secrets.SHAREPOINT_TENANT_ID }}
|
|
||||||
client_id: ${{ secrets.SHAREPOINT_CLIENT_ID }}
|
|
||||||
client_secret: ${{ secrets.SHAREPOINT_CLIENT_SECRET }}
|
|
||||||
|
|
||||||
# - 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: su-dont/share-point-uploader@v2.1
|
||||||
# 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
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
sp_username: ${{ secrets.USERNAME }}
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
sp_password: ${{ secrets.PASSWORD }}
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
sp_file_name: ${{ env.SP_LEGACY_IMG_GZ }}
|
||||||
# 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: su-dont/share-point-uploader@v2.1
|
||||||
# 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
|
||||||
# sp_username: ${{ secrets.USERNAME }}
|
sp_username: ${{ secrets.USERNAME }}
|
||||||
# sp_password: ${{ secrets.PASSWORD }}
|
sp_password: ${{ secrets.PASSWORD }}
|
||||||
# sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
sp_folder: /Shared Documents/OpenWrt/${{ steps.date.outputs.date }}
|
||||||
# sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
sp_file_name: ${{ env.SP_LEGACY_VMDK }}
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in New Issue