Skip to content

Fix sysoutLogged error ! #646

Fix sysoutLogged error !

Fix sysoutLogged error ! #646

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ----------------- This workflow is documented internally on Confluence -----------------
name: Prerelease + build P2 repository
on:
push:
branches:
- '*.*'
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17 and 8
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: |
8
17
# Below option needs to match the ID of the manifest BREE in order to pick the correct Java version for the build
# Check pom.xml for more information about toolchains
mvn-toolchain-id: |
JavaSE-1.8
JavaSE-17
- name: Load keystore
run: |
echo "${{ secrets.CODESIGN_KEYSTORE }}" > $RUNNER_TEMP/codesign.p12.asc
gpg -d --passphrase ${{ secrets.CODESIGN_KEYSTORE_PASSPHRASE }} --batch $RUNNER_TEMP/codesign.p12.asc > $RUNNER_TEMP/codesign.p12
- name: Build with Maven
run: mvn -B package -Pflat-repo -Dkeystore=$RUNNER_TEMP/codesign.p12
env:
KEY_PASSWORD: ${{ secrets.CODESIGN_KEY_PASSWORD }}
KEYSTORE_PASSWORD: ${{ secrets.CODESIGN_KEYSTORE_PASSWORD }}
- name: Prerelease and upload flat p2 update site
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{secrets.GITHUB_TOKEN}}"
automatic_release_tag: "prerelease-${{ github.ref_name }}"
prerelease: true
title: "Development Build ${{ github.ref_name }}"
files: |
releng/update/target/flat-repository/*