Browse Source

Update cloc.ps1

pull/437/head
Dmitry Nefedov 2 years ago
committed by GitHub
parent
commit
9c5b4fffa3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Scripts/cloc.ps1

4
Scripts/cloc.ps1

@ -1,11 +1,9 @@
# Download cloc # Download cloc
# https://github.com/AlDanial/cloc # https://github.com/AlDanial/cloc
$Token = ConvertTo-SecureString '${{ secrets.GITHUB_TOKEN }}' -AsPlainText
$Parameters = @{ $Parameters = @{
Uri = "https://api.github.com/repos/AlDanial/cloc/releases/latest" Uri = "https://api.github.com/repos/AlDanial/cloc/releases/latest"
Token = $Token Authentication = "Bearer ${{ secrets.GITHUB_TOKEN }}"
Authentication = "Bearer"
UseBasicParsing = $true UseBasicParsing = $true
Verbose = $true Verbose = $true
} }

Loading…
Cancel
Save