mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
Fix release workflow
This commit is contained in:
parent
d5f1b69866
commit
53f441a13f
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -53,14 +53,16 @@ jobs:
|
|||
name: WPF-NupkgReleases
|
||||
path: BililiveRecorder.WPF/bin/NupkgReleases
|
||||
- name: Pack Portable Zip File
|
||||
run: 7z a BililiveRecorder-WPF-Portable.zip BililiveRecorder.WPF/bin/${{ matrix.build_configuration }}
|
||||
run: |
|
||||
cd BililiveRecorder.WPF/bin/${{ matrix.build_configuration }}
|
||||
7z a BililiveRecorder-WPF-Portable.zip .
|
||||
- name: Upload Portable Zip File
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: BililiveRecorder-WPF-Portable.zip
|
||||
asset_path: BililiveRecorder.WPF/bin/${{ matrix.build_configuration }}/BililiveRecorder-WPF-Portable.zip
|
||||
asset_name: BililiveRecorder-WPF-Portable.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Upload Installer
|
||||
|
@ -108,6 +110,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: BililiveRecorder.Cli/publish/CLI-${{ matrix.rid }}-${{ matrix.rid }}.zip
|
||||
asset_path: BililiveRecorder.Cli/publish/CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}.zip
|
||||
asset_name: BililiveRecorder-CLI-${{ matrix.rid }}.zip
|
||||
asset_content_type: application/zip
|
||||
|
|
Loading…
Reference in New Issue
Block a user