From be53a967649d63bd4c4701f63b4ad9aab4767dbf Mon Sep 17 00:00:00 2001 From: Ko Nagase Date: Wed, 20 Dec 2023 15:47:40 +0900 Subject: [PATCH] Use newer activerecord-postgis-adapter for redmine master (rails 7.1) --- .github/workflows/test-postgis.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-postgis.yml b/.github/workflows/test-postgis.yml index 717d388b..9e1b1030 100644 --- a/.github/workflows/test-postgis.yml +++ b/.github/workflows/test-postgis.yml @@ -87,14 +87,13 @@ jobs: encoding: utf8 EOF - # - name: Adjust Gem environment - # run: | - # case "${{ matrix.redmine_version }}" in - # 4.2-stable) - # echo "GEM_RGEO_ACTIVERECORD_VERSION=6.2.2" >> ${GITHUB_ENV} - # echo "GEM_ACTIVERECORD_POSTGIS_ADAPTER_VERSION=5.2.3" >> ${GITHUB_ENV} - # ;; - # esac + - name: Adjust Gem environment + run: | + case "${{ matrix.redmine_version }}" in + master) + echo "GEM_ACTIVERECORD_POSTGIS_ADAPTER_VERSION=9.0.1" >> ${GITHUB_ENV} + ;; + esac - name: Install Ruby dependencies working-directory: redmine