diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 6891687..6196895 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -31,12 +31,9 @@ jobs: - name: Generate tag id: tag run: echo "::set-output name=tag::$(date +'%Y%m%d%H%M%S')" - - name: Create Release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ steps.tag.outputs.tag }} - name: Release ${{ steps.tag.outputs.tag }} - draft: false - prerelease: false + + - name: Release new version to NPM env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npx semantic-release