Skip to content

Commit 0e54bca

Browse files
committed
remove API KEY
1 parent 332e683 commit 0e54bca

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/cli-publish.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ jobs:
4444
Invoke-WebRequest -Uri $URL -OutFile "$DEST_DIR\$ZIP_NAME"
4545
Expand-Archive -Path "$DEST_DIR\$ZIP_NAME" -DestinationPath $DEST_DIR
4646
47-
ls ./target/cli
48-
4947
Write-Host "Aptos CLI version $env:VERSION extracted to $DEST_DIR"
5048
5149
- name: Publish to Choco
@@ -85,10 +83,6 @@ jobs:
8583
8684
choco pack --version $VERSION configuration=release
8785
88-
ls
89-
90-
choco apikey --api-key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
91-
92-
choco push aptos.$VERSION.nupkg --source https://push.chocolatey.org/
86+
choco push aptos.$VERSION.nupkg -k $env:CHOCO_API_KEY --source https://push.chocolatey.org/
9387
9488
Set-Location -Path ".."

0 commit comments

Comments
 (0)