Skip to content

Commit a2dca7b

Browse files
committed
to fix release workflow
1 parent 642e52c commit a2dca7b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,31 @@ permissions:
2121
jobs:
2222
release:
2323
runs-on: self-hosted
24-
# runs-on: ubuntu-latest
24+
# runs-on: ubuntu-latest
2525
env:
2626
# define Java options for both official sbt and sbt-extras
2727
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
2828
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
2929
steps:
30-
- name: Checkout
31-
uses: actions/checkout@v3
32-
- name: Set up JDK 8
33-
uses: actions/setup-java@v3
34-
with:
35-
java-version: '8'
36-
distribution: 'temurin'
37-
# cache: 'sbt'
38-
- name: Run tests & Coverage Report
39-
run: sbt coverage test coverageReport
40-
- name: Upload coverage to Codecov
41-
uses: codecov/codecov-action@v3
42-
with:
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
- name: Set up JDK 8
33+
uses: actions/setup-java@v3
34+
with:
35+
java-version: '8'
36+
distribution: 'temurin'
37+
# cache: 'sbt'
38+
- name: Run tests & Coverage Report
39+
run: sbt coverage test coverageReport coverageAggregate
40+
- name: Upload coverage to Codecov
41+
uses: codecov/codecov-action@v3
42+
with:
4343
files: common/target/scala-2.12/coverage-report/cobertura.xml,core/target/scala-2.12/coverage-report/cobertura.xml,teskit/target/scala-2.12/coverage-report/cobertura.xml
44-
flags: unittests
45-
fail_ci_if_error: true
46-
verbose: true
47-
- name: Publish
48-
run: sbt publish
44+
flags: unittests
45+
fail_ci_if_error: true
46+
verbose: true
47+
- name: Publish
48+
run: sbt publish
4949

5050
lint:
5151
runs-on: ubuntu-latest
@@ -59,4 +59,4 @@ jobs:
5959
distribution: 'temurin'
6060
# cache: 'sbt'
6161
- name: Formatting
62-
run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck
62+
run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck

0 commit comments

Comments
 (0)