|
26 | 26 | id: jdk |
27 | 27 | uses: actions/setup-java@v1 |
28 | 28 | with: |
29 | | - java-version: 11.0.x |
| 29 | + java-version: '11' |
30 | 30 | server-id: ossrh |
31 | 31 | server-username: MAVEN_USERNAME |
32 | 32 | server-password: MAVEN_PASSWORD |
|
43 | 43 | echo "::set-output name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" |
44 | 44 |
|
45 | 45 | # ================================================================================================================ |
46 | | - - name: Creates a Qase run |
47 | | - id: qase |
48 | | - run: | |
49 | | - echo "::set-output name=qase_run_id::$( \ |
50 | | - curl -s "https://api.qase.io/v1/run/CTB" \ |
51 | | - -X POST \ |
52 | | - -H "Token: ${{ secrets.QASE_TOKEN }}" \ |
53 | | - -H "Content-Type: application/json" \ |
54 | | - -d '{"title": "${{ github.event.head_commit.message }}","description": "Test run for ${{ steps.version.outputs.version }}","environment_id": null,"cases": []}' \ |
55 | | - | jq -r -c ".result.id")" |
56 | | -
|
57 | | - # ================================================================================================================ |
58 | | - - name: Build, run tests, package and deploy to Maven central - Also sends Qase tests reports |
| 46 | + - name: Build, run tests, package and deploy to Maven central |
59 | 47 | id: package |
60 | 48 | env: # Environment variables. |
61 | 49 | # GPG. |
|
64 | 52 | MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} |
65 | 53 | MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} |
66 | 54 | run: | |
67 | | - mvn deploy -B -Dgpg.passphrase=${GPG_PASSPHRASE} \ |
68 | | - -Dqase.enable=true \ |
69 | | - -Dqase.project.code=CTB \ |
70 | | - -Dqase.run.id=${{ steps.qase.outputs.qase_run_id }} \ |
71 | | - -Dqase.api.token=${{ secrets.QASE_TOKEN }} |
| 55 | + mvn deploy -B -Dgpg.passphrase=${GPG_PASSPHRASE} |
72 | 56 |
|
73 | 57 | # ================================================================================================================ |
74 | 58 | - name: Test Cassandre trading bot maven archetype - basic strategy |
|
0 commit comments