Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed May 15, 2024
1 parent f331ddf commit ec547b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ jobs:
bash .github/workflows/upload.sh
'${{ matrix.target.platform }}-${{ steps.vars.outputs.ARCH }}-node${{ steps.vars.outputs.NODE_VERSION }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Create release
if: ${{ steps.version.outputs.tag }}
run: gh release create ${{ steps.version.outputs.tag }}
run: gh release create ${{ steps.version.outputs.tag }} --title ${{ steps.version.outputs.tag }}

- name: Build
run: gh workflow run build --ref ${{ steps.version.outputs.tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variant=$1

name=$(cat package.json | jq -r '.name' | cut -d / -f 2)
tag_name=$(gh release view --json name --jq .name)
tag_name=$(gh release view --json tagName --jq .tagName)
upload_file=$RUNNER_TEMP/$name-$tag_name-$variant.zip

echo name: $name
Expand Down

0 comments on commit ec547b3

Please sign in to comment.