Skip to content

Commit

Permalink
修复输出包的目录结构
Browse files Browse the repository at this point in the history
  • Loading branch information
natsurainko committed Dec 24, 2024
1 parent 0a070ac commit c667cd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c667cd9

Please sign in to comment.