Skip to content

remove groupId and systemId properties #13

remove groupId and systemId properties

remove groupId and systemId properties #13

Workflow file for this run

name: master-build
on:
push:
branches: [ master ]
concurrency:
group: master-build
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Setup Java"
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
- name: "Setup Gradle"
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper
- name: "Setup Gradle Wrapper"
shell: bash
run: chmod +x gradlew
- name: "Build"
shell: bash
run: './gradlew --no-daemon build'
- name: "Upload Application Description"
uses: actions/upload-artifact@v4
with:
name: application-description
path: build/documentation/json/backend-service-1.json
update-documentation:
needs: build
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
repository: automatic-architecture-documentation/documentation
token: ${{ secrets.DOCUMENTATION_WRITE_TOKEN }}
- name: "Download Application Description"
uses: actions/download-artifact@v4
with:
name: application-description
path: tmp
- name: "Replace Current JSON"
shell: bash
run: cp -f tmp/backend-service-1.json .build/src/json/components/backend-service-1.json
- name: "Commit & Push Changes"
shell: bash
run: |
git config --global user.name "Botty"
git config --global user.email "[email protected]"
git add .build/src/json/components/backend-service-1.json
git diff --quiet --exit-code --cached || {
git commit -m "updated backend-service-1.json"
git push origin HEAD:master
}