ci(GitHub Actions): replace deprecated upload assets action

This commit is contained in:
乙坂あゆみ 2023-10-27 23:03:56 +08:00 committed by Genteure
parent 33d47cc585
commit de6e5f078b

View File

@ -71,7 +71,7 @@ jobs:
cd BililiveRecorder.WPF/bin/${{ matrix.build_configuration }} cd BililiveRecorder.WPF/bin/${{ matrix.build_configuration }}
7z a BililiveRecorder-WPF-Portable.zip . 7z a BililiveRecorder-WPF-Portable.zip .
- name: Upload Portable Zip File - name: Upload Portable Zip File
uses: actions/upload-release-asset@v1 # This action was deprecated, but it still works uses: shogo82148/actions-upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -118,7 +118,7 @@ jobs:
zip -r /tmp/CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}.zip . zip -r /tmp/CLI-${{ matrix.rid }}-${{ matrix.build_configuration }}.zip .
- name: Upload Release Asset - name: Upload Release Asset
uses: actions/upload-release-asset@v1 # This action was deprecated, but it still works uses: shogo82148/actions-upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with: