diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 550dc1e..3c7b2dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,4 +68,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: CLI-${{ matrix.rid }}-${{ matrix.build_configuration }} - path: BililiveRecorder.Cli/publish/${{ matrix.build_configuration }} + path: BililiveRecorder.Cli/publish/${{ matrix.rid }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe4552a..68fe424 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,17 +88,17 @@ jobs: uses: actions/upload-artifact@v2 with: name: CLI-${{ matrix.rid }}-${{ matrix.build_configuration }} - path: BililiveRecorder.Cli/publish/${{ matrix.build_configuration }} + path: BililiveRecorder.Cli/publish/${{ matrix.rid }} - name: Pack Release Asset run: | 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 uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: 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_content_type: application/zip