Skip to content

Commit

Permalink
Rename final artifact and include xkbcomp deps
Browse files Browse the repository at this point in the history
  • Loading branch information
angelsl committed Aug 16, 2020
1 parent c5bee56 commit f4c0d03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
zip -r ../grader.zip *
- uses: actions/upload-artifact@v2
with:
name: grader
name: graderzip
path: grader.zip
if-no-files-found: error
- uses: geekyeggo/delete-artifact@v1
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-lambda-xvfb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ strip bin/*
find -name '*.so' -type f -print0 | xargs -0 strip

mkdir -p lib
for lib in $(ldd bin/Xvfb | grep -oP '^\s+\S+\s=>\s\K/(usr/)?lib\S+'); do
for lib in $(ldd bin/Xvfb bin/xkbcomp | grep -oP '^\s+\S+\s=>\s\K/(usr/)?lib\S+'); do
if ! grep "$(basename "$lib")" "$SCRIPT_DIR/lambda-env-libs" > /dev/null; then
cp "$lib" lib
fi
Expand Down

0 comments on commit f4c0d03

Please sign in to comment.