Skip to content

Commit

Permalink
chore: fix asset names
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored and HerringtonDarkholme committed May 12, 2024
1 parent b89de9f commit 70cef40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ jobs:
length=${#files[@]}
for (( i=0; i<${length}; i++ ));
do
unzip "artifacts/sg-${files[$i]}.zip" -d "npm/platforms/${target_dir[$i]}/"
unzip "artifacts/app-${files[$i]}.zip" -d "npm/platforms/${target_dir[$i]}/"
done
# windows
files=(x86_64-pc-windows-msvc i686-pc-windows-msvc aarch64-pc-windows-msvc)
target_dir=(win32-x64-msvc win32-ia32-msvc win32-arm64-msvc)
length=${#files[@]}
for (( i=0; i<${length}; i++ ));
do
unzip "artifacts/sg-${files[$i]}.zip" -d "npm/platforms/${target_dir[$i]}/"
unzip "artifacts/app-${files[$i]}.zip" -d "npm/platforms/${target_dir[$i]}/"
done
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > ~/.npmrc
env:
Expand All @@ -120,4 +120,4 @@ jobs:
- name: "✏️ Generate release changelog"
uses: heinrichreimer/action-github-changelog-generator@v2.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 70cef40

Please sign in to comment.