Commit 12e24e84 authored by Paul Merlin's avatar Paul Merlin
Browse files

Fix for Windows

Merge branch 'eskatos/fix-windows'
parents 83e6d042 b35e929b
Loading
Loading
Loading
Loading
−7
Changes for .github/workflows/dev.yml: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -29,10 +29,3 @@ jobs:
        gradle-version: 6.5
        build-root-directory: __tests__/data/basic
        arguments: help
    - name: Check for uncommitted changes
      # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
      run: |
        git diff --exit-code --stat -- . ':!node_modules' \
        || (echo "##[error] found changed files after build. please 'npm run all'" \
                 "and check in all changes" \
            && exit 1)
−7
Changes for .github/workflows/prod.yml: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -28,10 +28,3 @@ jobs:
        gradle-version: 6.5
        build-root-directory: __tests__/data/basic
        arguments: help
    - name: Check for uncommitted changes
      # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
      run: |
        git diff --exit-code --stat -- . ':!node_modules' \
        || (echo "##[error] found changed files after build. please 'npm run all'" \
                 "and check in all changes" \
            && exit 1)
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+2 −1
Changes for src/cache.ts: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ import * as core from '@actions/core'
import * as cache from '@actions/cache'
import * as path from 'path'
import * as fs from 'fs'
import * as os from 'os'

const WRAPPER_CACHE_KEY = 'WRAPPER_CACHE_KEY'
const WRAPPER_CACHE_PATH = 'WRAPPER_CACHE_PATH'
@@ -20,7 +21,7 @@ export async function restoreCachedWrapperDist(

    const wrapperCacheKey = `wrapper-${wrapperSlug}`
    const wrapperCachePath = path.join(
        process.env.HOME!,
        os.homedir(),
        `.gradle/wrapper/dists/gradle-${wrapperSlug}`
    )

Loading