Skip to content

Commit

Permalink
Add visa stub library to package
Browse files Browse the repository at this point in the history
  • Loading branch information
esarver committed Aug 21, 2024
1 parent 0d0ff28 commit 3fb6e79
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fb6e79

Please sign in to comment.