diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16d199ea..be1bd83e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,10 +35,9 @@ jobs: run: npm run build - name: Publish - #if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.node-version == 14 }} - ##if: ${{ github.event_name != 'pull_request' && matrix.node-version == 14 }} + if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.node-version == 14 }} env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc - find lib + npm publish diff --git a/package.json b/package.json index ea6e16bd..bd27afbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "action-docs", - "version": "0.1.0-beta.7", + "version": "0.2.0-beta.1", "description": "Generate GitHub action docs based on action.yml", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -74,4 +74,4 @@ "directories": { "dist": "lib" } -} +} \ No newline at end of file