Skip to content

Commit d1addec

Browse files
committed
CI: fix post-build paths on macOS
1 parent cc3b5ab commit d1addec

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ jobs:
1717
export MACOSX_DEPLOYMENT_TARGET=10.9
1818
cmake -G Xcode -S . -B ./build -DLUA_INCLUDE_DIR=${{ runner.workspace }}/lua-https/.lua/include -DLUA_LIBRARIES=${{ runner.workspace }}/lua-https/.lua/lib/liblua.a
1919
cd ./build
20-
xcodebuild -configuration Release -scheme https -derivedDataPath Build
21-
mv Build/Release/libhttps.so Build/Release/https.so
20+
xcodebuild -configuration Release -scheme https
2221
23-
cd Build/Release
22+
cd src/Release
2423
lua -l "https" -e "assert(require('https').request('https://httpbin.org/post', {method='post', data='lotsa=data'}) == 200)"
2524
- uses: actions/upload-artifact@v2
2625
with:
2726
name: https-macos.zip
28-
path: build/Build/**/https.so
27+
path: build/src/**/https.so
2928

3029
Linux:
3130
runs-on: "ubuntu-20.04"

0 commit comments

Comments
 (0)