Skip to content

Commit 4c9d126

Browse files
committed
fix env
1 parent e94e87b commit 4c9d126

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cli-publish.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
Write-Host "Aptos CLI version $env:VERSION extracted to $DEST_DIR"
5050
5151
- name: Publish to Choco
52+
env:
53+
CHOCO_API_KEY: ${{ secrets.SuperSecret }}
5254
run: |
5355
5456
cd aptos-core
@@ -62,7 +64,6 @@ jobs:
6264
$CARGO_PATH="crates\$CRATE_NAME\Cargo.toml"
6365
$VERSION = Get-Content $CARGO_PATH | Select-String -Pattern '^\w*version = "(\d*\.\d*.\d*)"' | % {"$($_.matches.groups[1])"}
6466
$ExePath = "target\cli\$CRATE_NAME.exe"
65-
$CHOCO_API_KEY = ${{ secrets.CHOCO_API_KEY }}
6667
$apiKey = $env:CHOCO_API_KEY
6768
$ZIP_NAME="$NAME-$VERSION-Windows-x86_64.zip"
6869

0 commit comments

Comments
 (0)