File tree Expand file tree Collapse file tree 3 files changed +40
-10
lines changed
core/src/main/java/gov/hhs/aspr/ms/taskit/core Expand file tree Collapse file tree 3 files changed +40
-10
lines changed Original file line number Diff line number Diff line change 15
15
- ' **.xml'
16
16
- ' **.java'
17
17
pull_request :
18
- branches : [ "dev", "main" ]
18
+ branches : [ "dev" ]
19
19
20
20
jobs :
21
21
build :
Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name : Pull Request for Main Build
10
+
11
+ on :
12
+ pull_request :
13
+ branches : [ "main" ]
14
+
15
+ jobs :
16
+ main-build :
17
+ runs-on : ubuntu-latest
18
+ permissions :
19
+ contents : write
20
+ steps :
21
+ - name : Checkout Taskit
22
+ uses : actions/checkout@v3
23
+ - name : Checkout Util
24
+ uses : actions/checkout@v3
25
+ with :
26
+ repository : HHS/ASPR-ms-util
27
+ path : util
28
+ - name : Set up JDK 17
29
+ uses : actions/setup-java@v3
30
+ with :
31
+ java-version : ' 17'
32
+ distribution : ' temurin'
33
+ cache : maven
34
+ - name : Build Util
35
+ run : mvn clean install -DskipTests --file util/pom.xml
36
+ - name : Build Taskit
37
+ run : mvn clean install -Prelease --file pom.xml
Original file line number Diff line number Diff line change 1
1
package gov .hhs .aspr .ms .taskit .core ;
2
2
3
3
import java .io .IOException ;
4
- import java .io .Reader ;
5
4
import java .nio .file .Path ;
6
5
import java .util .ArrayList ;
7
6
import java .util .Collections ;
@@ -365,15 +364,9 @@ void validateTranslationEngines() {
365
364
366
365
367
366
/**
368
- * Creates readers for each inputFilePath and passes the reader and classRef to
367
+ * passes every input path and classRef to
369
368
* the TranslationEngine via
370
- * {@link TranslationController#readInput(Reader, Class)}
371
- *
372
- * @throws ContractException
373
- * <ul>
374
- * <li>{@linkplain CoreTranslationError#NULL_TRANSLATION_ENGINE}
375
- * if translationEngine is null</li>
376
- * </ul>
369
+ * {@link TranslationController#readInput(Path, Class, TranslationEngine)}
377
370
*/
378
371
public TranslationController readInput () {
379
372
for (Path path : this .data .inputFilePathMap .keySet ()) {
You can’t perform that action at this time.
0 commit comments