Updated publish.yml with release version: 1.0.10 and development vers… #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |