Skip to content

Commit

Permalink
#163: Use jq to edit log location
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Jan 6, 2021
1 parent 617aff1 commit 4e4fac1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ jobs:
- name: Create log file
run: touch logs.log
- name: Configure log file location
uses: deef0000dragon1/json-edit-action/@v1
env:
KEY: log_location
VALUE: $GITHUB_WORKSPACE/logs.log
FILE: config.json
run: echo "`jq -r --arg REPO_DIR "$GITHUB_WORKSPACE/logs.log" \
'.log_location=$REPO_DIR' config.json`" > config.json
- name: Setup Python
uses: actions/setup-python@v1
with:
Expand Down

0 comments on commit 4e4fac1

Please sign in to comment.