Skip to content

Commit 2263824

Browse files
committed
Use other variable
Signed-off-by: Daniel Kastl <[email protected]>
1 parent f0ed2e1 commit 2263824

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/test-postgis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/checkout@v4
5252

5353
- name: List scripts directory for debugging
54-
run: ls -l ${{ github.workspace }}/scripts
54+
run: ls -l $GITHUB_WORKSPACE/scripts
5555

5656
- name: Checkout Redmine
5757
uses: actions/checkout@v4
@@ -66,44 +66,44 @@ jobs:
6666
path: redmine/plugins/${{ env.PLUGIN_NAME }}
6767

6868
- name: Setup Environment
69-
run: ${{ github.workspace }}/scripts/setup_environment.sh
69+
run: $GITHUB_WORKSPACE/scripts/setup_environment.sh
7070

7171
- name: Prepare Plugin
7272
working-directory: redmine/plugins/${{ env.PLUGIN_NAME }}
73-
run: ${{ github.workspace }}/scripts/prepare_plugin.sh
73+
run: $GITHUB_WORKSPACE/scripts/prepare_plugin.sh
7474

7575
- name: Prepare Redmine source
7676
working-directory: redmine
77-
run: ${{ github.workspace }}/scripts/prepare_redmine.sh
77+
run: $GITHUB_WORKSPACE/scripts/prepare_redmine.sh
7878

7979
- name: Adjust Gem environment
80-
run: ${{ github.workspace }}/scripts/adjust_gem_env.sh
80+
run: $GITHUB_WORKSPACE/scripts/adjust_gem_env.sh
8181

8282
- name: Install Ruby dependencies
8383
working-directory: redmine
84-
run: ${{ github.workspace }}/scripts/install_ruby_dependencies.sh
84+
run: $GITHUB_WORKSPACE/scripts/install_ruby_dependencies.sh
8585

8686
- name: Run Redmine rake tasks
8787
env:
8888
RAILS_ENV: test
8989
working-directory: redmine
90-
run: ${{ github.workspace }}/scripts/run_rake_tasks.sh
90+
run: $GITHUB_WORKSPACE/scripts/run_rake_tasks.sh
9191

9292
- name: Zeitwerk check
9393
env:
9494
RAILS_ENV: test
9595
working-directory: redmine
96-
run: ${{ github.workspace }}/scripts/zeitwerk_check.sh
96+
run: $GITHUB_WORKSPACE/scripts/zeitwerk_check.sh
9797

9898
- name: Run tests
9999
env:
100100
RAILS_ENV: test
101101
GOOGLE_CHROME_OPTS_ARGS: "headless,disable-gpu,no-sandbox,disable-dev-shm-usage"
102102
working-directory: redmine
103-
run: ${{ github.workspace }}/scripts/run_tests.sh
103+
run: $GITHUB_WORKSPACE/scripts/run_tests.sh
104104

105105
- name: Run uninstall test
106106
env:
107107
RAILS_ENV: test
108108
working-directory: redmine
109-
run: ${{ github.workspace }}/scripts/run_uninstall_test.sh
109+
run: $GITHUB_WORKSPACE/scripts/run_uninstall_test.sh

0 commit comments

Comments
 (0)