action: copy grammar libraries to runtime

This commit is contained in:
kabirz 2021-07-17 22:29:28 +08:00 committed by Blaž Hrastnik
parent 9fcbbfa467
commit 6cba62b499

View file

@ -99,6 +99,7 @@ jobs:
else else
cp "target/${{ matrix.target }}/release/hx" "dist/" cp "target/${{ matrix.target }}/release/hx" "dist/"
fi fi
cp -r runtime dist
- uses: actions/upload-artifact@v2.2.4 - uses: actions/upload-artifact@v2.2.4
with: with:
@ -148,7 +149,7 @@ jobs:
pkgname=helix-$TAG-$platform pkgname=helix-$TAG-$platform
mkdir tmp/$pkgname mkdir tmp/$pkgname
cp LICENSE README.md tmp/$pkgname cp LICENSE README.md tmp/$pkgname
cp -r runtime tmp/$pkgname/ mv bins-$platform/runtime tmp/$pkgname/
mv bins-$platform/hx$exe tmp/$pkgname mv bins-$platform/hx$exe tmp/$pkgname
chmod +x tmp/$pkgname/hx$exe chmod +x tmp/$pkgname/hx$exe