Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): update GitHub Actions workflow to remove rockspec modification step #102

Open
wants to merge 1 commit into
base: release/0.8.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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