Skip to content

Merge pull request #4 from qld-gov-au/update-changelog #65

Merge pull request #4 from qld-gov-au/update-changelog

Merge pull request #4 from qld-gov-au/update-changelog #65

Workflow file for this run

name: Integration Test
on:
push:
branches:
- "*"
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: '5'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
- name: Build with Maven
env:
KITEWORKS_BASE_URI: ${{ secrets.KITEWORKS_BASE_URI }}
KITEWORKS_CLIENT_ID: ${{ secrets.KITEWORKS_CLIENT_ID }}
KITEWORKS_CLIENT_SECRET: ${{ secrets.KITEWORKS_CLIENT_SECRET }}
KITEWORKS_SIGNATURE_KEY: ${{ secrets.KITEWORKS_SIGNATURE_KEY }}
KITEWORKS_USER_ID: ${{ secrets.KITEWORKS_USER_ID }}
KITEWORKS_CLIENT_APP_SCOPES: ${{ secrets.KITEWORKS_CLIENT_APP_SCOPES }}
KITEWORKS_REDIRECT_URI: ${{ secrets.KITEWORKS_REDIRECT_URI }}
KITEWORKS_ACCESS_TOKEN_URI: ${{ secrets.KITEWORKS_ACCESS_TOKEN_URI }}
run: mvn clean install -Dspring.profiles.active=cicd
- name: Package artifacts
run: |
mkdir staging
cp */target/*.jar staging
cp -rf */target/*reports staging
cp -r */target/generated-sources/openapi/api staging
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Package
path: staging
overwrite: true