Skip to content

Commit

Permalink
More env parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sailro authored Apr 28, 2024
1 parent 41dc173 commit f5669ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ env:
CONFIGURATION: ${{ inputs.configuration != '' && inputs.configuration || 'Release' }}
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: 1
INSTALLER_DOTNET_VERSION: '8.0'
INSTALLER_PLATFORM: 'win-x64'

jobs:
windows:
Expand All @@ -39,10 +41,10 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '${{ env.INSTALLER_DOTNET_VERSION }}.x'

- name: "Set Publish Path"
run: echo "PUBLISH_PATH=./Installer/bin/${{ env.CONFIGURATION }}/net8.0/win-x64/publish/" >> $GITHUB_ENV
run: echo "PUBLISH_PATH=./Installer/bin/${{ env.CONFIGURATION }}/net${{ env.INSTALLER_DOTNET_VERSION }}/${{ env.INSTALLER_PLATFORM }}/publish/" >> $GITHUB_ENV
shell: bash

- name: Build
Expand Down

0 comments on commit f5669ad

Please sign in to comment.