Skip to content

Commit

Permalink
Fixed build and release name task
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hofmann <[email protected]>
  • Loading branch information
hoffe86 committed Feb 25, 2024
1 parent f7d9845 commit 11a1477
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/openhab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ on:

jobs:
configure:
name: Configure Build
runs-on: ubuntu-latest
outputs:
build_configuration: ${{ steps.detect-build-configuration.outputs.BuildConfiguration }}
bundle_Platforms: ${{ steps.detect-build-configuration.outputs.BundlePlatforms }}
build_number: ${{ steps.set-buildnumbe.outputs.BUILD_NUMBER }}
release_name: ${{ steps.set-buildnumbe.outputs.ReleaseName }}
release_name: ${{ steps.set-buildnumbe.outputs.Release_Name }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -51,9 +52,9 @@ jobs:
$IS_BETA_RELEASE = ${{ inputs.IsBetaRelease }}
if ($IS_BETA_RELEASE) {
Write-Host "ReleaseName=Beta:${CURRENTDATE}.${{github.run_number}}" >> $env:GITHUB_OUTPUT
Write-Host "RELEASE_NAME=Beta:${CURRENTDATE}.${{github.run_number}}" >> $env:GITHUB_OUTPUT
} else {
Write-Host "ReleaseName=${CURRENTDATE}.${{github.run_number}}" >> $env:GITHUB_OUTPUT
Write-Host "RELEASE_NAME=${CURRENTDATE}" >> $env:GITHUB_OUTPUT
}
build:
Expand Down

0 comments on commit 11a1477

Please sign in to comment.