Skip to content

HTTP -> HTTPS except POM headers and Maven Wrapper files (#120) #1388

HTTP -> HTTPS except POM headers and Maven Wrapper files (#120)

HTTP -> HTTPS except POM headers and Maven Wrapper files (#120) #1388

name: Build all samples
on:
push:
branches:
- main
- 'r5.*'
pull_request:
branches:
- '*'
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: 'Set up JDK 21'
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
java-version: 21
distribution: temurin
- name: 'Build all samples using JShell'
run: java src/Builder.java
- name: 'Check automation for updating versions'
run: java src/Updater.java 42
if: github.repository == 'junit-team/junit5-samples' && github.ref == 'refs/heads/main'