chore(ci): upgrade upload-artifact to v7 and set archive options (#1852)

This commit is contained in:
NLsdt
2026-02-28 13:31:45 +08:00
committed by GitHub
parent ec9498a2ca
commit 62048992be
5 changed files with 29 additions and 22 deletions

View File

@@ -66,7 +66,7 @@ jobs:
- name: Compress
if: ${{ github.event.inputs.tag != '' }}
run: |
Compress-Archive -Path "Release/PiliPlus-Win" -DestinationPath "PiliPlus_windows_${{env.version}}_x64.zip"
Compress-Archive -Path "Release/PiliPlus-Win" -DestinationPath "PiliPlus_windows_${{env.version}}_x64_portable.zip"
shell: pwsh
- name: Release
@@ -80,13 +80,15 @@ jobs:
PiliPlus-Win-Setup/PiliPlus_windows_*.exe
- name: Upload windows file release
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: Windows-file-x64-release
archive: true
name: PiliPlus_windows_${{env.version}}_x64_portable
path: Release
- name: Upload windows setup release
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
archive: false
name: Windows-setup-x64-release
path: PiliPlus-Win-Setup
path: PiliPlus-Win-Setup/PiliPlus_windows_*.exe