Auto sync appxmanifest

This commit is contained in:
qhy040404
2023-12-07 14:36:21 +08:00
parent f16769969e
commit c68fbe9d96

View File

@@ -18,3 +18,11 @@ jobs:
PURGE_URL: ${{ secrets.PURGE_URL }}
run: |
curl -X PATCH $PURGE_URL
- name: Sync development appxmanifest
env:
VERSION: ${{ github.ref }}
shell: pwsh
run: |
$ver = ' Version="'+$Env:VERSION+'.0"'
$content = (Get-Content src/Snap.Hutao/Snap.Hutao/Package.development.appxmanifest -Encoding UTF8) -replace ' Version="([0-9\\.]+)"', $ver