diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 4a96589..88def0e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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