mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
azure pipelines -> github actions
This commit is contained in:
parent
848a73ed40
commit
887c5e1142
8 changed files with 69 additions and 79 deletions
|
|
@ -5,10 +5,10 @@ VERSION=2.13.4
|
|||
|
||||
if [ "$OSTYPE" = msys ]; then
|
||||
URL="https://storage.googleapis.com/dart-archive/channels/stable/release/${VERSION}/sdk/dartsdk-windows-x64-release.zip"
|
||||
echo "##vso[task.prependpath]$(cygpath -w /tmp/dart-sdk/bin)"
|
||||
cygpath -w /tmp/dart-sdk/bin >> "$GITHUB_PATH"
|
||||
else
|
||||
URL="https://storage.googleapis.com/dart-archive/channels/stable/release/${VERSION}/sdk/dartsdk-linux-x64-release.zip"
|
||||
echo '##vso[task.prependpath]/tmp/dart-sdk/bin'
|
||||
echo '/tmp/dart-sdk/bin' >> "$GITHUB_PATH"
|
||||
fi
|
||||
|
||||
curl --silent --location --output /tmp/dart.zip "$URL"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue