Skip to content

Commit 1ec5e98

Browse files
committed
CI: Set path instead of copy DLLs
1 parent 7402d3a commit 1ec5e98

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ jobs:
8383
-DENABLE_TEST=ON
8484
build-type: ${{ env.BUILD_TYPE }}
8585

86-
- name: Copy DLLs
87-
run: |
88-
Copy-Item -Path "${{ github.workspace }}\build\lib\StormByte.dll" -Destination "${{ github.workspace }}\build\test" -Force
86+
- name: Add DLL directory to PATH
87+
run: echo "${{ github.workspace }}\build\lib" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
8988

9089
- name: Run unit tests
9190
run: ctest --output-on-failure --test-dir ${{ github.workspace }}\build\test

0 commit comments

Comments
 (0)