diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 302d4e666..6f1991b14 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -44,6 +44,14 @@ jobs: - uses: r-lib/actions/setup-pandoc@v2 + - name: Fix temp dir to use runner one (windows) + if: runner.os == 'Windows' + run: | + echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV + echo "TMP=${{ runner.temp }}" >> $GITHUB_ENV + echo "TEMP=${{ runner.temp }}" >> $GITHUB_ENV + shell: bash + - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }} @@ -55,9 +63,6 @@ jobs: extra-packages: any::rcmdcheck needs: check - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true