chore(deps): bump org.apache.logging.log4j:log4j-core #212
This file contains hidden or 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
| # This workflow will build a Java project with Maven | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
| name: Continuous Integration | |
| on: | |
| push: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-24.04 | |
| name: Java ${{ matrix.java }} Test | |
| strategy: | |
| matrix: | |
| # test against LTS versions supported by Temurin: | |
| java: [ '8', '11', '17', '21' ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: 'temurin' | |
| - name: Get latest release tag | |
| id: latest_release | |
| run: | | |
| tag=$(curl -s https://api.github.com/repos/Staffbase/plugins-sdk-java/releases/latest | jq -r .tag_name) | |
| echo "tag_name=$tag" >> $GITHUB_OUTPUT | |
| - name: Build with Maven | |
| run: mvn -B package --file pom.xml -Drevision=${{ steps.latest_release.outputs.tag_name }} | |
| - name: Run UI tests | |
| run: make test |