Skip to content

Commit

Permalink
try to fix
Browse files Browse the repository at this point in the history
Signed-off-by: tzssangglass <[email protected]>
  • Loading branch information
tzssangglass committed Dec 25, 2024
1 parent 54d9adf commit 8fac9cd
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:

env:
KONG_VERSION: 3.4.2
KONG_VERSION: release/3.4.x
BUILD_ROOT: ${{ github.workspace }}/kong/bazel-bin/build

concurrency:
Expand Down Expand Up @@ -63,6 +63,22 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
cd kong
# Find the .rockspec file (handles varying filenames like kong-3.4.x-0.rockspec)
ROCKSPEC_FILE=$(ls kong-*.rockspec | head -n 1)
# Check if the rockspec file exists
if [[ -f "$ROCKSPEC_FILE" ]]; then
echo "Modifying lua-messagepack version in $ROCKSPEC_FILE"
# Use sed to replace "lua-messagepack == 0.5.2" with "lua-messagepack == 0.5.2-1"
sed -i 's/"lua-messagepack == 0\.5\.2"/"lua-messagepack == 0.5.2-1"/' "$ROCKSPEC_FILE"
else
echo "Error: .rockspec file not found!"
exit 1
fi
# Proceed with the build steps
make build-kong
make build-venv
BUILD_PREFIX=$BUILD_ROOT/kong-dev
Expand Down

0 comments on commit 8fac9cd

Please sign in to comment.