Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgajulapalli authored May 23, 2024
1 parent d6b8d1d commit 8d28caa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
steps:
- name: step-1
run: |
echo "::add-mask::${{ github.event.inputs.my_var }}"
echo "NEW_SECRET=${{ github.event.inputs.my_var }}" >> $GITHUB_ENV
TOKEN="${{ github.event.inputs.my_var }}"
echo "::add-mask::${TOKEN}"
echo "NEW_SECRET=${TOKEN}" >> $GITHUB_ENV
- name: step-2
run: |
echo "Value: ${{env.global_env_var}}"
Expand Down

0 comments on commit 8d28caa

Please sign in to comment.