#622 extract output of the version

This commit is contained in:
Anna Antipova 2021-08-05 15:57:25 +03:00
parent 4f48ccffd6
commit cb50cfea49
2 changed files with 1 additions and 4 deletions

View file

@ -10,8 +10,6 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs:
version: ${{steps.build.outputs.version}}
steps: steps:
- name: Cache local Maven repository - name: Cache local Maven repository
uses: actions/cache@v2 uses: actions/cache@v2
@ -37,8 +35,6 @@ jobs:
id: build_app id: build_app
run: | run: |
mvn clean package -DskipTests ${{ github.event.inputs.extraMavenOptions }} mvn clean package -DskipTests ${{ github.event.inputs.extraMavenOptions }}
export VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
echo ::set-output name=version::${VERSION}
- name: compose app - name: compose app
id: step_five id: step_five
run: | run: |

View file

@ -73,6 +73,7 @@ public class TopicTests extends BaseTest {
.timeToRetainIs(UPDATED_TIME_TO_RETAIN_VALUE) .timeToRetainIs(UPDATED_TIME_TO_RETAIN_VALUE)
.maxSizeOnDiskIs(UPDATED_MAX_SIZE_ON_DISK) .maxSizeOnDiskIs(UPDATED_MAX_SIZE_ON_DISK)
.maxMessageBytesIs(UPDATED_MAX_MESSAGE_BYTES); .maxMessageBytesIs(UPDATED_MAX_MESSAGE_BYTES);
Selenide.refresh();
} }
@SneakyThrows @SneakyThrows