Skip to content

Commit

Permalink
KL-119/chore: edit workflow secret env logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ohhamma committed Aug 28, 2024
1 parent dfe2726 commit 8da39c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/makefile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:

- name: Create .env file
run: |
jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS_CONTEXT" > .env
env:
SECRETS_CONTEXT: ${{ toJson(secrets) }}
touch ./env
echo "${{ secrets.ENV }}" > ./.env
shell: bash

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down

0 comments on commit 8da39c3

Please sign in to comment.