Skip to content

Commit c2609d7

Browse files
OFM-Check-Action: Modify for OFM-ConfigTransfer
1 parent 237c383 commit c2609d7

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/OAM-DFA.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# SPDX-License-Identifier: AGPL-3.0-only
33
# Copyright (C) 2024-2025 Cornelius Koepp
44

5-
name: DFA-check
6-
run-name: Check OFM-DFA Build
5+
name: OFM-check
6+
run-name: Check OFM-Build
77

88
on: [push]
99

.github/workflows/openknx-ofm-check.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# DO this after restore the use current commit
3636
# - uses: actions/checkout@v4
3737
# with:
38-
# path: OFM-DFA
38+
# path: OFM-ConfigTransfer
3939

4040
- name: Check for Same Name Branch in Reference OAM
4141
id: oam_branch
@@ -70,12 +70,12 @@ jobs:
7070
uses: actions/checkout@v4
7171
with:
7272
# ref: ${{ github.ref_name }}
73-
path: OFM-DFA
73+
path: OFM-ConfigTransfer
7474

7575
- name: Extract OFM-version (major.minor) from library.json
7676
id: get_version
7777
run: |
78-
cd OFM-DFA
78+
cd OFM-ConfigTransfer
7979
VERSION=$(jq -r '.version' library.json)
8080
VERSION_MAJOR_MINOR=$(echo "$VERSION" | grep -oE '^[0-9]+\.[0-9]+')
8181
echo "VERSION_MAJOR_MINOR=$VERSION_MAJOR_MINOR" >> $GITHUB_ENV
@@ -84,8 +84,8 @@ jobs:
8484
- name: Patch OAM to Current OFM-Version ${{ env.VERSION_MAJOR_MINOR }}
8585
run: |
8686
cd ${{ inputs.oam }}
87-
sed -i 's/\(<op:config name="%DFA_VerifyVersion%"[ ]*value="\)[^"]*\(".*\/>\)/\1'"$VERSION_MAJOR_MINOR"'\2/' src/StateEngine.conf.xml
88-
echo "Set %DFA_VerifyVersion% to $VERSION_MAJOR_MINOR"
87+
sed -i 's/\(<op:config name="%UCT_VerifyVersion%"[ ]*value="\)[^"]*\(".*\/>\)/\1'"$VERSION_MAJOR_MINOR"'\2/' src/StateEngine.conf.xml
88+
echo "Set %UCT_VerifyVersion% to $VERSION_MAJOR_MINOR"
8989
9090
- name: Download OpenKNXproducer ${{ env.PRODUCER_VERSION }} and Verify
9191
run: |

0 commit comments

Comments
 (0)