mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
azure pipelines -> github actions
This commit is contained in:
parent
848a73ed40
commit
887c5e1142
8 changed files with 69 additions and 79 deletions
|
|
@ -12,4 +12,4 @@ curl --location --silent --output "$ARTIFACT" "$COURSIER_URL"
|
|||
echo "$COURSIER_HASH $ARTIFACT" | sha256sum --check
|
||||
chmod ugo+x /tmp/coursier/cs
|
||||
|
||||
echo '##vso[task.prependpath]/tmp/coursier'
|
||||
echo '/tmp/coursier' >> "$GITHUB_PATH"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Install the runtime and package manager.
|
||||
sudo apt install lua5.3 liblua5.3-dev luarocks
|
||||
|
|
@ -26,4 +26,4 @@ fi
|
|||
mkdir -p /tmp/swift
|
||||
tar -xf "$TGZ" --strip 1 --directory /tmp/swift
|
||||
|
||||
echo '##vso[task.prependpath]/tmp/swift/usr/bin'
|
||||
echo '/tmp/swift/usr/bin' >> "$GITHUB_PATH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue