Skip to content

Commit

Permalink
fix(ci): bash on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Mar 27, 2024
1 parent 0e8e053 commit 0980c05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
- name: Strip 'v' prefix and save as CHOCO_RELEASE_NAME
id: name
shell: bash
run: |
$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
TAG=${{ github.event.inputs.manual_name || github.event.release.name }}
echo "CHOCO_RELEASE_NAME=${TAG#v}" >> $GITHUB_ENV
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --progress=false --cache ${{ github.workspace }}/.cache/npm
Expand Down

0 comments on commit 0980c05

Please sign in to comment.