diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9889423..8563454 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,13 +26,16 @@ jobs: - name: bump version run: | - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git config --global user.name '${{ github.repository_owner }}' git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com' npm version ${{ github.ref_name }} --git-tag-version=false - git commit -am "bump version to ${{ github.ref_name }}" - git push origin HEAD:${{ github.ref }} + - name: Commit & Push changes + uses: actions-js/push@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} + - name: release run: npm publish --provenance --access public env: