diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4652db0..7628867 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -291,10 +291,26 @@ jobs: echo "commit=${COMMIT}" >> $GITHUB_OUTPUT npm version --no-git-tag-version "${V}" || true + - name: Get Latest VISA Stub Release + uses: robinraju/release-downloader@v1 + with: + repository: tektronix/libvisa-stub + latest: true + fileName: '*' - name: Move Packages run: | mkdir -p bin for f in target/*; do cp "$f" bin; done; + + if [ "${{matrix.os}}" = "win32" ]; then + cp *.dll bin/ || true + cp *.exp bin/ || true + cp *.lib bin/ || true + elif [ "${{matrix.os}}" = "linux" ]; then + cp *.so bin/ || true + elif [ "${{matrix.os}}" = "darwin" ]; then + cp *.dylib bin/ || true + fi - name: Run ClamAV run: clamscan -v bin/* - name: npm Package