Skip to content

Commit

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

on:
pull_request:
branches: [main]


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

steps:
- run: |
echo "$TF_VARS" | jq --raw-output 'to_entries | map("::add-mask::\(.value // empty)") | .[]'
echo "$TF_VARS" | jq --raw-output 'to_entries | map("TF_VAR_\(.key)=\(.value // "")") | .[]' >> "$GITHUB_ENV"
env | sort

0 comments on commit fa62211

Please sign in to comment.