mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
fix e2e for sbt.
This commit is contained in:
parent
b9d25ecda2
commit
68d967ecf9
61 changed files with 25 additions and 48 deletions
28
.github/workflows/e2e-cache.yml
vendored
28
.github/workflows/e2e-cache.yml
vendored
|
@ -180,10 +180,30 @@ jobs:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
cache: sbt
|
cache: sbt
|
||||||
- name: Confirm that ~/.ivy2/cache directory has been made
|
|
||||||
|
- name: Confirm that ~/Library/Caches/Coursier directory has been made
|
||||||
|
if: matrix.os == 'macos-latest'
|
||||||
run: |
|
run: |
|
||||||
if [ ! -d ~/.ivy2/cache ]; then
|
if [ ! -d ~/Library/Caches/Coursier ]; then
|
||||||
echo "::error::The ~/.ivy2/cache directory does not exist unexpectedly"
|
echo "::error::The ~/Library/Caches/Coursier directory does not exist unexpectedly"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
ls ~/.ivy2/cache
|
ls ~/Library/Caches/Coursier
|
||||||
|
|
||||||
|
- name: Confirm that ~/AppData/Local/Coursier/Cache directory has been made
|
||||||
|
if: matrix.os == 'windows-latest'
|
||||||
|
run: |
|
||||||
|
if [ ! -d ~/AppData/Local/Coursier/Cache ]; then
|
||||||
|
echo "::error::The ~/AppData/Local/Coursier/Cache directory does not exist unexpectedly"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
ls ~/AppData/Local/Coursier/Cache
|
||||||
|
|
||||||
|
- name: Confirm that ~/.cache/coursier directory has been made
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
run: |
|
||||||
|
if [ ! -d ~/.cache/coursier ]; then
|
||||||
|
echo "::error::The ~/.cache/coursier directory does not exist unexpectedly"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
ls ~/.cache/coursier
|
||||||
|
|
1
__tests__/cache/sbt/.gitignore
vendored
Normal file
1
__tests__/cache/sbt/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
target/
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
sbt.internal.DslEntry
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
sbt.internal.DslEntry
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
[[{},{}],{}]
|
|
|
@ -1 +0,0 @@
|
||||||
969967227
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
1762478603
|
|
|
@ -1 +0,0 @@
|
||||||
{"{\"organization\":\"org.scala-lang\",\"name\":\"scala-library\",\"revision\":\"2.12.15\",\"configurations\":\"provided\",\"isChanging\":false,\"isTransitive\":true,\"isForce\":false,\"explicitArtifacts\":[],\"inclusions\":[],\"exclusions\":[],\"extraAttributes\":{},\"crossVersion\":{\"type\":\"Disabled\"}}":{"value":{"$fields":["path","startLine"],"path":"(sbt.Classpaths.jvmBaseSettings) Defaults.scala","startLine":3254},"type":"LinePosition"}}
|
|
|
@ -1,3 +0,0 @@
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mnot up to date. inChanged = true, force = false[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mUpdating ProjectRef(uri("file:/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/"), "sbt-build")...[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mDone updating ProjectRef(uri("file:/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/"), "sbt-build")[0m
|
|
|
@ -1 +0,0 @@
|
||||||
["sbt.Task[scala.collection.Seq[java.nio.file.Path]]",["/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/zinc/inc_compile_2.12.zip"]]
|
|
|
@ -1 +0,0 @@
|
||||||
[]
|
|
|
@ -1,6 +0,0 @@
|
||||||
[0m[[0m[0mdebug[0m] [0m[0m[zinc] IncrementalCompile -----------[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mIncrementalCompile.incrementalCompile[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mprevious = Stamps for: 0 products, 0 sources, 0 libraries[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mcurrent source = Set()[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0m> initialChanges = InitialChanges(Changes(added = Set(), removed = Set(), changed = Set(), unmodified = ...),Set(),Set(),API Changes: Set())[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mFull compilation, no sources in previous analysis.[0m
|
|
|
@ -1,2 +0,0 @@
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mCopy resource mappings: [0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0m [0m
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes
|
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +0,0 @@
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mCreated transactional ClassFileManager with tempDir = /Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes.bak[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mRemoving the temporary directory used for backing up class files: /Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes.bak[0m
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/project/target/scala-2.12/sbt-1.0/classes
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
-510718803
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
-467104387
|
|
|
@ -1 +0,0 @@
|
||||||
{"{\"organization\":\"org.scala-lang\",\"name\":\"scala-library\",\"revision\":\"2.12.15\",\"isChanging\":false,\"isTransitive\":true,\"isForce\":false,\"explicitArtifacts\":[],\"inclusions\":[],\"exclusions\":[],\"extraAttributes\":{},\"crossVersion\":{\"type\":\"Disabled\"}}":{"value":{"$fields":["path","range"],"path":"/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/build.sbt","range":{"$fields":["start","end"],"start":3,"end":4}},"type":"RangePosition"},"{\"organization\":\"org.scala-lang.modules\",\"name\":\"scala-parser-combinators\",\"revision\":\"1.1.2\",\"isChanging\":false,\"isTransitive\":true,\"isForce\":false,\"explicitArtifacts\":[],\"inclusions\":[],\"exclusions\":[],\"extraAttributes\":{},\"crossVersion\":{\"type\":\"Binary\",\"prefix\":\"\",\"suffix\":\"\"}}":{"value":{"$fields":["path","range"],"path":"/Users/fmeriaux/Documents/Projects/OS/setup-java/__tests__/cache/sbt/build.sbt","range":{"$fields":["start","end"],"start":3,"end":4}},"type":"RangePosition"}}
|
|
|
@ -1,3 +0,0 @@
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mnot up to date. inChanged = true, force = true[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mUpdating ...[0m
|
|
||||||
[0m[[0m[0mdebug[0m] [0m[0mDone updating [0m
|
|
Loading…
Add table
Add a link
Reference in a new issue