diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index 362ce43..a234337 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -35,8 +35,13 @@ jobs: - name: Add repository to git safe directories run: git config --global --add safe.directory $GITHUB_WORKSPACE + - name: Setup proper env for folder + shell: bash + run: | + echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE" >> $GITHUB_ENV + # Runs a single command using the runners shell - name: Compile and run tests on robot code env: - TSAN_OPTIONS: suppressions=${{ github.workspace }}/.github/workflows/tsan_suppressions + TSAN_OPTIONS: suppressions=${{ env.GITHUB_WORKSPACE }}/.github/workflows/tsan_suppressions run: ./gradlew build ${{ matrix.gradle-flags }} \ No newline at end of file