Skip to content

Commit b0c69d0

Browse files
authored
Fix pipeline (#81)
* [maven-release-plugin] prepare release openapi-dart-generator-5.13 * [maven-release-plugin] prepare for next development iteration * updates pipeline for multiple dart versions
1 parent 4108a1f commit b0c69d0

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.github/workflows/test-pr.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323
- uses: actions/checkout@v2
24-
- uses: dart-lang/setup-dart@v1
24+
- uses: dart-lang/[email protected]
25+
with:
26+
sdk: 2.17.1
2527

2628
- name: Build with Maven using JDK11
2729
uses: actions/setup-java@v2

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>openapi-dart-generator</artifactId>
55
<packaging>jar</packaging>
66
<name>openapi-dart-generator</name>
7-
<version>5.13-SNAPSHOT</version>
7+
<version>5.14-SNAPSHOT</version>
88

99
<description>
1010
dart2 generator from openapi 3.x spec files. Changing to openapitools dependencies.

src/it/k8s/verify.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def runCommand = { strList ->
2626
assert !proc.exitValue()
2727
}
2828

29-
runCommand("pub get")
30-
runCommand("dartanalyzer lib")
31-
runCommand("pub run test test/api_tests.dart")
29+
runCommand("dart pub get")
30+
runCommand("dart analyze lib")
31+
runCommand("dart test test/api_tests.dart")
3232

3333
//System.exit(0)

src/it/k8s_null/verify.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def runCommand = { strList ->
2626
assert !proc.exitValue()
2727
}
2828

29-
runCommand("pub get")
30-
runCommand("dartanalyzer lib")
31-
runCommand("pub run test test/api_tests.dart")
29+
runCommand("dart pub get")
30+
runCommand("dart analyze lib")
31+
runCommand("dart test test/api_tests.dart")
3232

3333
//System.exit(0)

0 commit comments

Comments
 (0)