Skip to content

Commit

Permalink
fix env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sqin2019 committed Jul 20, 2023
1 parent 876dccf commit fbe9d7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ on:
type: 'string'
default: '1.20'
required: false
env:
TOOL_ERROR_FILENAME: '/tmp/tool_error.txt'

jobs:
# Check the current status of this pull request with respect to code review.
Expand Down Expand Up @@ -86,7 +88,6 @@ jobs:
id: 'cleanup_tool'
env:
FILE_PATH: '${{ github.workspace }}/tool.yaml'
TOOL_ERROR_FILENAME: '/tmp/tool_error.txt'
run: |
touch ${{ env.TOOL_ERROR_FILENAME }}
aod tool cleanup -path ${{ env.FILE_PATH }} 2> ${{ env.TOOL_ERROR_FILENAME }}
Expand Down

0 comments on commit fbe9d7d

Please sign in to comment.