Skip to content

Commit

Permalink
Always use steps.get_latest_release.outputs.results when compiling th…
Browse files Browse the repository at this point in the history
…e installer
  • Loading branch information
mikiher committed Jan 17, 2024
1 parent 8c1cd5c commit fcf9370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

# 3. Build the installer
- name: Compile inno setup
run: iscc /DMyAppVersion=${{ github.event_name == 'release' && steps.get_latest_release.outputs.result || 'v0.0.0.1' }} Setup/installer.iss
run: iscc /DMyAppVersion=${{ steps.get_latest_release.outputs.result }} Setup/installer.iss
working-directory: ./audiobookshelf-windows

# 4. Create a release
Expand All @@ -84,5 +84,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./audiobookshelf-windows/Setup/Output/AudiobookshelfInstaller.exe
asset_name: AudiobookshelfInstaller${{ github.event_name == 'release' && steps.get_latest_release.outputs.result || 'v0.0.0.1' }}.exe
asset_name: AudiobookshelfInstaller.${{ steps.get_latest_release.outputs.result }}.exe
asset_content_type: application/x-msdownload

0 comments on commit fcf9370

Please sign in to comment.