Skip to content

Commit d116544

Browse files
committed
Change branch for openDAQ actions
1 parent f69c877 commit d116544

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,18 @@ jobs:
8383

8484
- name: Compose framework filename
8585
id: compose-framework-filename
86-
uses: openDAQ/actions/framework-compose-filename@action-framework-download-release
86+
uses: openDAQ/actions/framework-compose-filename@jira/TBBAS-2680-opendaq-gh-actions-github-api-wrapper-unit-tests
8787
# uses: ./actions-temp/framework-compose-filename
8888
with:
8989
platform: ${{ matrix.platform-alias }}
9090
token: ${{ secrets.PAT_TOKEN }}
9191

9292
- name: Download framework filename
9393
id: download-framework-filename
94-
uses: openDAQ/actions/framework-download-release@action-framework-download-release
94+
uses: openDAQ/actions/framework-download-release@jira/TBBAS-2680-opendaq-gh-actions-github-api-wrapper-unit-tests
9595
# uses: ./actions-temp/framework-download-release
9696
with:
97-
artifact: ${{ steps.compose-framework-filename.outputs.filename }}
98-
version: ${{ steps.compose-framework-filename.outputs.version }}
97+
platform: ${{ matrix.platform-alias }}
9998
token: ${{ secrets.PAT_TOKEN }}
10099

101100
#- name: Download openDAQ framework
@@ -111,10 +110,22 @@ jobs:
111110
# echo "$OPENDAQ_VERSION"
112111
# gh release download "${OPENDAQ_VERSION}" --pattern "${OPENDAQ_FILENAME}" --dir "${DESTINATION_DIR}" --repo openDAQ/openDAQ
113112

113+
- name: Normalize downloaded asset
114+
id: normalize-path
115+
shell: bash
116+
run: |
117+
asset=${{ steps.download-framework-filename.outputs.asset }}
118+
# Normalize output-dir path for cross-platform compatibility
119+
if command -v cygpath >/dev/null 2>&1; then
120+
asset="$(cygpath -w "$asset")"
121+
echo "Normalized path (Windows): $asset"
122+
fi
123+
echo "asset=$asset" >> $GITHUB_OUTPUT
124+
114125
- name: Install openDAQ framework package
115-
uses: ./.github/actions/framework-install
126+
uses: openDAQ/actions/framework-install@jira/TBBAS-2680-opendaq-gh-actions-github-api-wrapper-unit-tests
116127
with:
117-
opendaq-framework-package-filename: ${{ steps.compose-framework-filename.outputs.filename }}
128+
framework-filename: ${{ steps.normalize-path.outputs.asset }}
118129

119130
- name: Configure simple device module with CMake
120131
run: cmake -B build/output -S . -G "${{ matrix.generator }}" -DEXAMPLE_MODULE_ENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=Release

0 commit comments

Comments
 (0)