Skip to content

Commit

Permalink
Update build workflows to support arm64 architecture in platform conf…
Browse files Browse the repository at this point in the history
…igurations

Signed-off-by: Christoph Hofmann <oss@hoffe.org>
  • Loading branch information
hoffe86 committed Dec 30, 2024
1 parent 0c6b464 commit e200d9d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
type: string
description: 'Defines the platforms for the app package.'
required: false
default: ' x86|x64|ARM'
default: ' x86|x64|arm64'
build_number:
type: string
description: 'The build number to use'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:
branches:
- main

jobs:
configure:
name: Configure Build
Expand All @@ -30,14 +30,14 @@ jobs:
Write-Host "Set build configuration to release"
Write-Output "BuildConfiguration=release" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86|x64|ARM" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86|x64|arm64" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
} else {
Write-Host "Set build configuration to debug"
Write-Output "BuildConfiguration=debug" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86|x64|arm64" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
}
- name: Set build number and release name
id: buildnumber
shell: pwsh
Expand All @@ -53,7 +53,7 @@ jobs:
Write-Host "Set release name to $CURRENTDATE"
Write-Output "RELEASE_NAME=$CURRENTDATE" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
}
build:
uses: ./.github/workflows/build.yml
name: Build
Expand All @@ -62,4 +62,4 @@ jobs:
build_configuration: ${{needs.configure.outputs.buildConfiguration}}
bundle_Platforms: ${{ needs.configure.outputs.bundlePlatforms}}
build_number: ${{ needs.configure.outputs.buildNumber}}
secrets: inherit
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/openhab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
Write-Host "Set build configuration to release"
Write-Output "BuildConfiguration=release" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86|x64|ARM" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86|x64|arm64" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
} else {
Write-Host "Set build configuration to debug"
Write-Output "BuildConfiguration=debug" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86|x64|ARM" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Write-Output "BundlePlatforms=x86|x64|arm64" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
}
- name: Set build number and release name
Expand Down

0 comments on commit e200d9d

Please sign in to comment.