Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vmttn committed Apr 18, 2024
1 parent e28b0cf commit a53fa23
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/foo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: foo

on:
pull_request:
branches: [main]


jobs:
foo:
runs-on: ubuntu-latest
env:
FOO: ${{ secrets.FOO }}

steps:
- run: |
echo "$FOO" | while IFS='=' read -r key value; do
echo "::add-mask::$value"
echo "$key=$value" >> "$GITHUB_ENV"
done
- run: |
env
bar:
runs-on: ubuntu-latest
env:
BAR: ${{ vars.BAR }}

steps:
- run: |
echo "$BAR" | while IFS='=' read -r key value; do
echo "::add-mask::$value"
echo "$key=$value" >> "$GITHUB_ENV"
done
- run: |
env

0 comments on commit a53fa23

Please sign in to comment.