Skip to content

Commit

Permalink
Fix windows installer workflow-2
Browse files Browse the repository at this point in the history
  • Loading branch information
moshe-kabala committed Oct 21, 2024
1 parent 6ed565e commit 3cee48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- name: Replace version in Inno Setup script
run: |
(Get-Content windows-installer.iss.template) -replace '{#AppVersion}', '${{ github.env.VERSION }}' | Set-Content windows-installer.iss
(Get-Content windows-installer.iss.template) -replace '{#AppVersion}', '${{ env.VERSION }}' | Set-Content windows-installer.iss
shell: pwsh

- name: Compile the installer using Inno Setup
Expand All @@ -75,6 +75,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: ./LeapCLIInstaller_${{ github.env.VERSION }}_windows_amd64.exe
files: ./LeapCLIInstaller_${{ env.VERSION }}_windows_amd64.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3cee48a

Please sign in to comment.