Skip to content

Commit

Permalink
Fix: プライベートリポジトリでも GitHub Actions ワークフローからリリースの AivisSpeech Engine パッ…
Browse files Browse the repository at this point in the history
…ケージをダウンロードできるように修正
  • Loading branch information
tsukumijima committed Jul 14, 2024
1 parent 7144159 commit 043cc5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-engine-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
- name: <Setup> Download ENGINE package
run: |
mkdir -p download
curl -L -o "download/list.txt" "${{ steps.vars.outputs.release_url }}/${{ steps.vars.outputs.package_name }}.7z.txt"
<download/list.txt xargs -I '%' curl -L -o "download/%" "${{ steps.vars.outputs.release_url }}/%"
curl -L -H "Authorization: Bearer ${{ github.token }}" -o "download/list.txt" "${{ steps.vars.outputs.release_url }}/${{ steps.vars.outputs.package_name }}.7z.txt"
<download/list.txt xargs -I '%' curl -L -H "Authorization: Bearer ${{ github.token }}" -o "download/%" "${{ steps.vars.outputs.release_url }}/%"
7z x "download/$(head -n1 download/list.txt)"
mv "${{ matrix.target }}" dist/
Expand Down

0 comments on commit 043cc5f

Please sign in to comment.