From c667cd965fc773aad36a8451f8640ee4bad6f2a1 Mon Sep 17 00:00:00 2001 From: natsurainko Date: Wed, 25 Dec 2024 01:03:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BE=93=E5=87=BA=E5=8C=85?= =?UTF-8?q?=E7=9A=84=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 ++-- .github/workflows/pre-release.yml | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cc65dc0..29af8a9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: dependencies-${{ matrix.architecture }} - path: "${{ env.Packages_Directory }}/*/Dependencies/${{ matrix.architecture }}/*" + path: "${{ env.Packages_Directory }}/**/Dependencies/${{ matrix.architecture }}/*" # Decode the base64 encoded pfx and sign the package - name: Sign .msix @@ -136,7 +136,7 @@ jobs: [IO.File]::WriteAllBytes("${{ env.SigningKey_Path }}", $pfx_cert_byte) & $signtool sign /f "${{ env.SigningKey_Path }}" /fd SHA256 /td SHA256 "${{ steps.preparation.outputs.packageName }}.msix" rm "${{ env.SigningKey_Path }}" - + - name: Upload .msix to artifacts if: ${{ inputs.create_package }} uses: actions/upload-artifact@v4 diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 007b5ec7..25e73e31 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -115,9 +115,7 @@ jobs: cd ${{ github.workspace }}/updatePackage-x64 mv *.msix msix-x64.msix - - cd ${{ github.workspace }} - zip -r updatePackage-x64.zip updatePackage-x64/* + zip -r ../updatePackage-x64.zip ./* - name: Download arm64 msixbundle uses: actions/download-artifact@v4 @@ -136,9 +134,7 @@ jobs: cd ${{ github.workspace }}/updatePackage-arm64 mv *.msix msix-arm64.msix - - cd ${{ github.workspace }} - zip -r updatePackage-arm64.zip updatePackage-arm64/* + zip -r ../updatePackage-arm64.zip ./* - name: Download msixbundle uses: actions/download-artifact@v4