Skip to content

Commit

Permalink
add step security
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Nov 10, 2024
1 parent 98dd4cd commit 4f39ec7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
run: |
yarn pack
echo "sha256=$(shasum -a 256 \"action-docs-*.tgz\" | cut -d ' ' -f 1)" >> $GITHUB_ENV
# shellcheck disable=SC2086
echo "sha256=$(shasum -a 256 action-docs-*.tgz | cut -d ' ' -f 1)" >> $GITHUB_ENV
yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 4f39ec7

Please sign in to comment.