Skip to content

Commit

Permalink
chore(ci): update GitHub Actions workflow to remove rockspec modifica…
Browse files Browse the repository at this point in the history
…tion step (#102)

removed the logic for modifying the lua-messagepack version in the .rockspec file from the CI workflow.

releated to:Kong/kong#14061

Signed-off-by: tzssangglass <[email protected]>
  • Loading branch information
tzssangglass authored Jan 14, 2025
1 parent 460266b commit b5fcac2
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,7 @@ 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.4"
sed -i 's/"lua-messagepack == 0\.5\.2"/"lua-messagepack == 0.5.4"/' "$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 b5fcac2

Please sign in to comment.