Skip to content

Commit

Permalink
fix: remove bat from PATH (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Nov 22, 2024
1 parent 940741f commit 23c282e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,12 @@ runs:

- run: |
echo "${AQUA_ROOT_DIR:-$HOME/AppData/Local/aquaproj-aqua}/bin" >> $GITHUB_PATH
echo "${AQUA_ROOT_DIR:-$HOME/AppData/Local/aquaproj-aqua}/bat" >> $GITHUB_PATH
shell: bash
working-directory: ${{ inputs.working_directory }}
if: runner.os == 'Windows'
- run: |
$(if($env:AQUA_ROOT_DIR) {echo $env:AQUA_ROOT_DIR} else {echo "$HOME/AppData/Local/aquaproj-aqua/bin"}) | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$(if($env:AQUA_ROOT_DIR) {echo $env:AQUA_ROOT_DIR} else {echo "$HOME/AppData/Local/aquaproj-aqua/bat"}) | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: pwsh
working-directory: ${{ inputs.working_directory }}
if: runner.os == 'Windows'
Expand Down

0 comments on commit 23c282e

Please sign in to comment.