File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
88on : [push]
99
Original file line number Diff line number Diff line change 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
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 : |
You can’t perform that action at this time.
0 commit comments