Dmitry Nefedov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
Scripts/cloc.ps1
|
@ -1,9 +1,14 @@ |
|
|
# Download cloc |
|
|
# Download cloc |
|
|
# https://github.com/AlDanial/cloc |
|
|
# https://github.com/AlDanial/cloc |
|
|
|
|
|
|
|
|
|
|
|
$Token = "${{ secrets.GITHUB_TOKEN }}" |
|
|
|
|
|
$Headers = @{ |
|
|
|
|
|
Accept = "application/json" |
|
|
|
|
|
Authorization = "Bearer $Token" |
|
|
|
|
|
} |
|
|
$Parameters = @{ |
|
|
$Parameters = @{ |
|
|
Uri = "https://api.github.com/repos/AlDanial/cloc/releases/latest" |
|
|
Uri = "https://api.github.com/repos/AlDanial/cloc/releases/latest" |
|
|
Authentication = "Bearer `${{ secrets.GITHUB_TOKEN }}" |
|
|
Headers = $Headers |
|
|
UseBasicParsing = $true |
|
|
UseBasicParsing = $true |
|
|
Verbose = $true |
|
|
Verbose = $true |
|
|
} |
|
|
} |
|
|