@@ -59,62 +59,41 @@ jobs:
5959 with :
6060 opendaq-framework-release-version : ${{ github.event.inputs.opendaq-framework-version || 'latest' }}
6161
62- # - name: Download openDAQ framework
63- # uses: ./.github/actions/framework-download
64- # with:
65- # src-opendaq-framework-dev: ${{ steps.opendaq-framework.outputs.uri }}
66- # dst-opendaq-framework-dev: ${{ runner.temp }}/${{ steps.opendaq-framework.outputs.artefact }}
67- # aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
68- # aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
69- # aws_region: ${{ secrets.AWS_REGION }}
70-
7162 - name : Actions temp
7263 shell : bash
7364 run : |
7465 mkdir actions-temp
7566
76- # - name: Checkout actions
77- # uses: actions/checkout@v4
78- # with:
79- # repository: openDAQ/actions
80- # ref: action-framework-download-release
81- # path: ./actions-temp
82- # token: ${{ secrets.PAT_TOKEN }}
83-
8467 - name : Compose framework filename
8568 id : compose-framework-filename
86- uses : openDAQ/actions/framework-compose-filename@action-framework-download-release
87- # uses: ./actions-temp/framework-compose-filename
69+ uses : openDAQ/actions/framework-compose-filename@jira/TBBAS-2680-opendaq-gh-actions-github-api-wrapper-unit-tests
8870 with :
8971 platform : ${{ matrix.platform-alias }}
9072 token : ${{ secrets.PAT_TOKEN }}
9173
9274 - name : Download framework filename
9375 id : download-framework-filename
94- uses : openDAQ/actions/framework-download-release@action-framework-download-release
95- # uses: ./actions-temp/framework-download-release
76+ uses : openDAQ/actions/framework-download-release@jira/TBBAS-2680-opendaq-gh-actions-github-api-wrapper-unit-tests
9677 with :
97- artifact : ${{ steps.compose-framework-filename.outputs.filename }}
98- version : ${{ steps.compose-framework-filename.outputs.version }}
78+ platform : ${{ matrix.platform-alias }}
9979 token : ${{ secrets.PAT_TOKEN }}
10080
101- # - name: Download openDAQ framework
102- # shell: bash
103- # env:
104- # DESTINATION_DIR: ${{ runner.temp }}
105- # OPENDAQ_VERSION: ${{ steps.compose-framework-filename.outputs.version }}
106- # OPENDAQ_FILENAME: ${{ steps.compose-framework-filename.outputs.filename }}
107- # run: |
108- # DESTINATION_DIR="$(echo "$DESTINATION_DIR" | sed 's|\\|/|g')"
109- # echo "$DESTINATION_DIR"
110- # echo "$OPENDAQ_FILENAME"
111- # echo "$OPENDAQ_VERSION"
112- # gh release download "${OPENDAQ_VERSION}" --pattern "${OPENDAQ_FILENAME}" --dir "${DESTINATION_DIR}" --repo openDAQ/openDAQ
81+ - name : Normalize downloaded asset
82+ id : normalize-path
83+ shell : bash
84+ run : |
85+ asset=${{ steps.download-framework-filename.outputs.asset }}
86+ # Normalize output-dir path for cross-platform compatibility
87+ if command -v cygpath >/dev/null 2>&1; then
88+ asset="$(cygpath -w "$asset")"
89+ echo "Normalized path (Windows): $asset"
90+ fi
91+ echo "asset=$asset" >> $GITHUB_OUTPUT
11392
11493 - name : Install openDAQ framework package
115- uses : ./.github/ actions/framework-install
94+ uses : openDAQ/ actions/framework-install@jira/TBBAS-2680-opendaq-gh-actions-github-api-wrapper-unit-tests
11695 with :
117- opendaq- framework-package- filename : ${{ steps.compose-framework-filename .outputs.filename }}
96+ framework-filename : ${{ steps.normalize-path .outputs.asset }}
11897
11998 - name : Configure simple device module with CMake
12099 run : cmake -B build/output -S . -G "${{ matrix.generator }}" -DEXAMPLE_MODULE_ENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=Release
0 commit comments