Skip to content

Commit

Permalink
Added details in readme for new major version number, simplified buil…
Browse files Browse the repository at this point in the history
…d.yml
  • Loading branch information
robmoffat committed Jun 5, 2024
1 parent e9f73ab commit c52a2d0
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 159 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/build-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,47 +5,47 @@ env:
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PGP_SKIP: ${{ secrets.PGP_SKIP }}
BOT1PRIVATEKEY: ${{ secrets.BOT1PRIVATEKEY }}
BOT2PRIVATEKEY: ${{ secrets.BOT2PRIVATEKEY }}
BOT2CERTIFICATE: ${{ secrets.BOT2CERTIFICATE }}

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Cache Maven dependencies
uses: actions/cache@v2
env:
cache-name: cache-mvn-modules
with:
path: ~/.m2
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: yes
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 8
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
- name: Download deps and plugins
run: mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies
- name: Build
run: mvn install
- name: Test Summary
uses: test-summary/action@v1
with:
paths: "**/TEST-*.xml"
if: always()

- name: Checkout repo
uses: actions/checkout@v2
- name: Cache Maven dependencies
uses: actions/cache@v2
env:
cache-name: cache-mvn-modules
with:
path: ~/.m2
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: yes
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
- name: Download deps and plugins
run: mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies
- name: Build
run: mvn install
- name: Test Summary
uses: test-summary/action@v1
with:
paths: "**/TEST-*.xml"
if: always()
- name: Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
81 changes: 37 additions & 44 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,55 +5,48 @@ env:
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PGP_SKIP: ${{ secrets.PGP_SKIP }}
BOT1PRIVATEKEY: ${{ secrets.BOT1PRIVATEKEY }}
BOT2PRIVATEKEY: ${{ secrets.BOT2PRIVATEKEY }}
BOT2CERTIFICATE: ${{ secrets.BOT2CERTIFICATE }}

on:
push:
branches:
- master
- develop
- spring-bot-develop
- spring-bot-master
- symphony-java-toolkit-master
branches:
- spring-bot-master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Cache Maven dependencies
uses: actions/cache@v2
env:
cache-name: cache-mvn-modules
with:
path: ~/.m2
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@master
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 8
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
- name: Download deps and plugins
run: mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies
- name: Build + Test
run: mvn verify --settings .github/workflows/settings.xml
- name: Test Summary
uses: test-summary/action@v1
with:
paths: "**/TEST-*.xml"
if: always()
- name: Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Checkout repo
uses: actions/checkout@v2
- name: Cache Maven dependencies
uses: actions/cache@v2
env:
cache-name: cache-mvn-modules
with:
path: ~/.m2
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
server-id: ossrh
server-username: CI_DEPLOY_USERNAME
server-password: CI_DEPLOY_PASSWORD
- name: Download deps and plugins
run: mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies
- name: Build
run: mvn install
- name: Test Summary
uses: test-summary/action@v1
with:
paths: "**/TEST-*.xml"
if: always()
- name: Coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
38 changes: 0 additions & 38 deletions .github/workflows/settings.xml

This file was deleted.

Loading

0 comments on commit c52a2d0

Please sign in to comment.