Skip to content

Commit 196cf3a

Browse files
committed
fix(ci): use GitHub Actions env for Windows path resolution
Replace bash export with GitHub Actions native env: block for TZIF_DATA_PATH. This ensures ${{ github.workspace }} is properly expanded to a Windows path format that GNAT runtime can access. Also update functional pin to v4.0.0 release commit.
1 parent 78cb354 commit 196cf3a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/windows-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
shell: bash
5959
run: |
6060
# Replace local path pins with GitHub URL pins
61-
sed -i "s|functional = { path = '../functional' }|functional = { url = \"https://github.com/abitofhelp/functional.git\", commit = \"5ef5b46d9dce871edebec5aefcb3d24d35eb9026\" }|" alire.toml
61+
# functional v4.0.0, tzif v3.0.0
62+
sed -i "s|functional = { path = '../functional' }|functional = { url = \"https://github.com/abitofhelp/functional.git\", commit = \"d429ad4534d3d19e76f6cf19b0f96fa008925658\" }|" alire.toml
6263
sed -i "s|tzif = { path = '../tzif' }|tzif = { url = \"https://github.com/abitofhelp/tzif_ada.git\", commit = \"f585c7a1625b26aaa768f8162b641d657a71e012\" }|" alire.toml
6364
echo "Updated pins to use GitHub URLs"
6465
echo "=== alire.toml pins ==="
@@ -111,12 +112,13 @@ jobs:
111112
# -----------------------------------------------------------------------
112113
- name: Run integration tests
113114
shell: bash
115+
env:
116+
# Use GitHub Actions native path expansion for Windows compatibility
117+
TZIF_DATA_PATH: ${{ github.workspace }}/data/tzif/20251105T093308Z
114118
run: |
115119
echo "========================================"
116120
echo "Running Integration Tests"
117121
echo "========================================"
118-
# Convert bash path to Windows path for GNAT runtime
119-
export TZIF_DATA_PATH="$(cygpath -w "$(pwd)/data/tzif/20251105T093308Z")"
120122
echo "TZIF_DATA_PATH=$TZIF_DATA_PATH"
121123
./test/bin/integration_runner.exe
122124
echo "Integration tests complete"

0 commit comments

Comments
 (0)