Skip to content

Commit

Permalink
ci: migrates from hub to gh CLI #124
Browse files Browse the repository at this point in the history
GitHub Actions has replaced hub CLI with gh CLI, breaking the artifact
publishing step.
  • Loading branch information
jshor committed Nov 22, 2023
1 parent 9ea111d commit 6a59b8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ jobs:
set -x
assets=()
for asset in ./build/stage/**/*; do
assets+=("-a" "$asset")
assets+=("$asset")
done
RELEASE_VERSION=$(echo $(ls build/stage| head -1))
hub release create "${assets[@]}" -m "v$RELEASE_VERSION" "$RELEASE_VERSION"
gh release create -t "v$RELEASE_VERSION" "$RELEASE_VERSION" "${assets[@]}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -127,7 +127,7 @@ jobs:
path: dist
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
Expand Down

0 comments on commit 6a59b8c

Please sign in to comment.