.github/workflows/release.yml in slack-ruby-block-kit-0.18.0 vs .github/workflows/release.yml in slack-ruby-block-kit-0.19.0
- old
+ new
@@ -14,12 +14,13 @@
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- - run: |
- otp=${{github.event.inputs.otp}}
- echo "::add-mask::$otp"
+ - name: Mask OTP
+ run: |
+ OTP=$(jq -r '.inputs.otp' $GITHUB_EVENT_PATH)
+ echo "::add-mask::$OTP"
- run: gem update --system
- run: git config --global user.email github-action@users.noreply.github.com
- run: git config --global user.name GitHub Actions
- run: git config --global user.password ${{ github.token }}
- run: bundle install