We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c9d126 commit 332e683Copy full SHA for 332e683
.github/workflows/cli-publish.yaml
@@ -64,7 +64,6 @@ jobs:
64
$CARGO_PATH="crates\$CRATE_NAME\Cargo.toml"
65
$VERSION = Get-Content $CARGO_PATH | Select-String -Pattern '^\w*version = "(\d*\.\d*.\d*)"' | % {"$($_.matches.groups[1])"}
66
$ExePath = "target\cli\$CRATE_NAME.exe"
67
- $apiKey = $env:CHOCO_API_KEY
68
$ZIP_NAME="$NAME-$VERSION-Windows-x86_64.zip"
69
70
choco install checksum -y
@@ -88,7 +87,7 @@ jobs:
88
87
89
ls
90
91
- choco apikey --api-key $apiKey --source https://push.chocolatey.org/
+ choco apikey --api-key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
92
93
choco push aptos.$VERSION.nupkg --source https://push.chocolatey.org/
94
0 commit comments