Skip to content

Commit 5804d0e

Browse files
committed
feat(ci): Add GitHub Actions and fix Perl 5.8 compatibility
1 parent deba05f commit 5804d0e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,14 @@ jobs:
7676
- name: Build and Test
7777
shell: bash
7878
run: |
79-
# Build the Makefile
79+
# Define the version from GitHub to ensure it's set correctly.
80+
MODULE_VERSION=0.17
81+
82+
# Build the Makefile, explicitly passing the VERSION
8083
if [ "$RUNNER_OS" == "Windows" ]; then
81-
perl Makefile.PL INC="-I$env:LUA_INC_PATH" LIBS="-L$env:LUA_LIB_PATH -llua53"
84+
perl Makefile.PL VERSION=$MODULE_VERSION INC="-I$env:LUA_INC_PATH" LIBS="-L$env:LUA_LIB_PATH -llua53"
8285
else
83-
perl Makefile.PL
86+
perl Makefile.PL VERSION=$MODULE_VERSION
8487
fi
8588
8689
# Compile the module

0 commit comments

Comments
 (0)