Skip to content

Commit fdc6fc0

Browse files
author
Greg Bowler
committed
Use workspace for output.log
1 parent b94a121 commit fdc6fc0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ runs:
7777
ACTION_ARGS: ${{ inputs.args }}
7878
id: phpstan_run
7979
run: bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/cc563958b37b62874df04de865e5e9c6d8bb93dd/php-build.bash) phpunit \
80-
&& ${{ github.action_path }}/phpstan-action.bash || cat ${{ github.action_path }}/output.log
80+
&& ${{ github.action_path }}/phpstan-action.bash || cat ${{ github.workspace }}/output.log
8181
shell: bash
8282

8383
branding:

phpstan-action.bash

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
22
set -e
3-
pwd
43
github_action_path=$(dirname "$0")
54
docker_tag=$(cat ./docker_tag)
65
echo "Docker tag: $docker_tag" >> output.log 2>&1

0 commit comments

Comments
 (0)