Skip to content

Commit 332e683

Browse files
committed
remove apikey
1 parent 4c9d126 commit 332e683

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/cli-publish.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
$CARGO_PATH="crates\$CRATE_NAME\Cargo.toml"
6565
$VERSION = Get-Content $CARGO_PATH | Select-String -Pattern '^\w*version = "(\d*\.\d*.\d*)"' | % {"$($_.matches.groups[1])"}
6666
$ExePath = "target\cli\$CRATE_NAME.exe"
67-
$apiKey = $env:CHOCO_API_KEY
6867
$ZIP_NAME="$NAME-$VERSION-Windows-x86_64.zip"
6968
7069
choco install checksum -y
@@ -88,7 +87,7 @@ jobs:
8887
8988
ls
9089
91-
choco apikey --api-key $apiKey --source https://push.chocolatey.org/
90+
choco apikey --api-key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
9291
9392
choco push aptos.$VERSION.nupkg --source https://push.chocolatey.org/
9493

0 commit comments

Comments
 (0)