Skip to content

Commit

Permalink
调整 CI
Browse files Browse the repository at this point in the history
固定使用 frg2089/MsixInstaller@v1 而不是master分支
使summary生成的判断更合理

Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
  • Loading branch information
frg2089 committed Dec 24, 2024
1 parent 0d612fb commit 5dabc10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: 生成 MSIX 安装器
id: installer
if: steps.msix.conclusion == 'success'
uses: frg2089/MsixInstaller@master
uses: frg2089/MsixInstaller@v1
with:
msix: build/windows/x64/runner/Release/pixez.msix

Expand All @@ -97,11 +97,11 @@ jobs:
Write-Output '|:-|:-:|' >> $env:GITHUB_STEP_SUMMARY
Write-Output "|[binary](${{ steps.binary-artifact.outputs.artifact-url }})|${{ steps.binary-artifact.outputs.artifact-digest }}|" >> $env:GITHUB_STEP_SUMMARY
if (![string]::IsNullOrWhiteSpace($env:CERTIFICATE_PATH)) {
if ('${{ steps.msix-artifact.conclusion }}' -eq 'success') {
Write-Output "|[msix](${{ steps.msix-artifact.outputs.artifact-url }})|${{ steps.msix-artifact.outputs.artifact-digest }}|" >> $env:GITHUB_STEP_SUMMARY
}
if (![string]::IsNullOrWhiteSpace($env:CERTIFICATE_PATH)) {
if ('${{ steps.installer-artifact.conclusion }}' -eq 'success') {
Write-Output "|[installer](${{ steps.installer-artifact.outputs.artifact-url }})|${{ steps.installer-artifact.outputs.artifact-digest }}|" >> $env:GITHUB_STEP_SUMMARY
}
Expand Down

0 comments on commit 5dabc10

Please sign in to comment.