Skip to content

Commit

Permalink
fix(ci): windows env
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Mar 27, 2024
1 parent bf27ed3 commit 0e8e053
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
- name: Strip 'v' prefix and save as CHOCO_RELEASE_NAME
id: name
run: |
TAG=${{ github.event.inputs.manual_name || github.event.release.name }}
echo "CHOCO_RELEASE_NAME=${TAG#v}" >> $GITHUB_ENV
$TAG=${{ github.event.inputs.manual_name || github.event.release.name }}
$CHOCO_RELEASE_NAME = $TAG -replace '^v', ''
echo "CHOCO_RELEASE_NAME=$CHOCO_RELEASE_NAME" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --progress=false --cache ${{ github.workspace }}/.cache/npm
Expand Down

0 comments on commit 0e8e053

Please sign in to comment.