Skip to content

Commit

Permalink
Work around github actions artifact limitations
Browse files Browse the repository at this point in the history
The inability to store symlinks in artifacts.

Closes #8
  • Loading branch information
borrrden committed Mar 2, 2022
1 parent f4f41bd commit dfd5963
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ jobs:
- name: Package
run: |
mkdir -p ${{ github.workspace }}/dist
cp ${{ github.workspace }}/out/Darwin/libcblite* ${{ github.workspace }}/dist
full_filename=$(ls ${{ github.workspace }}/out/Darwin | grep libcblite\.\d.\d.\d\.dylib)
short_filename=$(ls ${{ github.workspace }}/out/Darwin | grep libcblite\.\d.\.dylib)
cp ${{ github.workspace }}/out/Darwin/$full_filename ${{ github.workspace }}/dist
ln -s $full_filename ${{ github.workspace }}/dist/$short_filename
ln -s $short_filename ${{ github.workspace }}/dist/libcblite.dylib
cp ${{ github.workspace }}/out/Windows/cblite.dll ${{ github.workspace }}/dist
npm install
npm run package-only
Expand Down

0 comments on commit dfd5963

Please sign in to comment.