File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -41,26 +41,30 @@ jobs:
4141
4242 - name : Configure (Ubuntu)
4343 if : runner.os == 'Linux'
44+ working-directory : easy-stun
4445 run : |
45- cmake -S easy-stun -B easy-stun/ build -G Ninja -DCMAKE_BUILD_TYPE=Release
46+ cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
4647
4748 - name : Configure (macOS)
4849 if : runner.os == 'macOS'
50+ working-directory : easy-stun
4951 env :
5052 OPENSSL_ROOT_DIR : /opt/homebrew/opt/openssl@3
5153 PKG_CONFIG_PATH : /opt/homebrew/opt/openssl@3/lib/pkgconfig
5254 run : |
53- cmake -S easy-stun -B easy-stun/ build -G Ninja -DCMAKE_BUILD_TYPE=Release
55+ cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
5456
5557 - name : Build
58+ working-directory : easy-stun
5659 run : |
57- cmake --build easy-stun/ build
60+ cmake --build build
5861
5962 - name : Package artifact
63+ working-directory : easy-stun
6064 shell : bash
6165 run : |
6266 set -euo pipefail
63- BIN="easy-stun/ build/easy-stun"
67+ BIN="build/easy-stun"
6468 test -f "$BIN"
6569
6670 OS="${{ runner.os }}"
7276 cp "$BIN" "$OUTDIR/easy-stun"
7377 (cd "$OUTDIR" && tar -czf "${NAME}.tar.gz" easy-stun)
7478
75- echo "ASSET_PATH=$OUTDIR/${NAME}.tar.gz" >> "$GITHUB_ENV"
79+ echo "ASSET_PATH=easy-stun/ $OUTDIR/${NAME}.tar.gz" >> "$GITHUB_ENV"
7680 echo "ASSET_NAME=${NAME}.tar.gz" >> "$GITHUB_ENV"
7781
7882 - name : Upload build artifact (non-tag)
You can’t perform that action at this time.
0 commit comments