We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dace196 commit 3bdf336Copy full SHA for 3bdf336
phpstan-action.bash
@@ -4,10 +4,9 @@ github_action_path=$(dirname "$0")
4
docker_tag=$(cat ./docker_tag)
5
echo "Docker tag: $docker_tag" >> output.log 2>&1
6
7
-# TODO: Download phar from Github
8
-phar_url="https://getrelease.download?repo=phpstan&version=$ACTION_VERSION"
+phar_url="https://www.getrelease.download/phpstan/phpstan/$ACTION_VERSION/phar"
9
curl --silent -H "User-agent: cURL (https://github.com/php-actions)" -L "$phar_url" > "${github_action_path}/phpstan.phar"
10
-chmod +x "${github_action_path}/phpunit.phar"
+chmod +x "${github_action_path}/phpstan.phar"
11
12
command_string=("phpstan")
13
0 commit comments