mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
fix artifact upload
This commit is contained in:
parent
6ec9aaf5aa
commit
2c15666bf9
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -68,4 +68,4 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}
|
name: CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}
|
||||||
path: BililiveRecorder.Cli/publish/${{ matrix.build_configuration }}
|
path: BililiveRecorder.Cli/publish/${{ matrix.rid }}
|
||||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -88,17 +88,17 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}
|
name: CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}
|
||||||
path: BililiveRecorder.Cli/publish/${{ matrix.build_configuration }}
|
path: BililiveRecorder.Cli/publish/${{ matrix.rid }}
|
||||||
- name: Pack Release Asset
|
- name: Pack Release Asset
|
||||||
run: |
|
run: |
|
||||||
cd BililiveRecorder.Cli/publish
|
cd BililiveRecorder.Cli/publish
|
||||||
zip -r CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}.zip ./${{ matrix.build_configuration }}
|
zip -r CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}.zip ./${{ matrix.rid }}
|
||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ github.event.release.upload_url }}
|
upload_url: ${{ github.event.release.upload_url }}
|
||||||
asset_path: BililiveRecorder.Cli/publish/CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}.zip
|
asset_path: BililiveRecorder.Cli/publish/CLI-${{ matrix.rid }}-${{ matrix.rid }}.zip
|
||||||
asset_name: BililiveRecorder-CLI-${{ matrix.rid }}.zip
|
asset_name: BililiveRecorder-CLI-${{ matrix.rid }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
Loading…
Reference in New Issue
Block a user