diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index a0d77da..9842541 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -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 }} @@ -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: