mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
Auto sync appxmanifest
This commit is contained in:
8
.github/workflows/PublishDistribution.yml
vendored
8
.github/workflows/PublishDistribution.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user