disable automatic release creation

This commit is contained in:
Andrea Lamparelli 2022-12-23 22:46:23 +01:00
parent 8b3a5b5f42
commit 2ec3e7a68c

View file

@ -1,6 +1,6 @@
# This workflow create a new tag, a release and then publish it to NPM. # This workflow create a new tag and then publish it to NPM.
name: "Create Release" name: "Release Package"
on: on:
workflow_dispatch: workflow_dispatch:
@ -32,16 +32,16 @@ jobs:
env: env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
create-release: # create-release:
name: "Create Release" # name: "Create Release"
needs: tag-and-publish # needs: tag-and-publish
runs-on: "ubuntu-latest" # runs-on: "ubuntu-latest"
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- id: package-version # - id: package-version
uses: martinbeentjes/npm-get-version-action@main # uses: martinbeentjes/npm-get-version-action@main
- uses: marvinpinto/action-automatic-releases@latest # - uses: marvinpinto/action-automatic-releases@latest
with: # with:
repo_token: "${{ secrets.GITHUB_TOKEN }}" # repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "v${{ steps.package-version.outputs.current-version}}" # automatic_release_tag: "v${{ steps.package-version.outputs.current-version}}"
prerelease: false # prerelease: false