Skip to content

Commit

Permalink
Merge pull request #1380 from gsmet/ecosystem-ci-3.15
Browse files Browse the repository at this point in the history
Build Platform for 3.15 in Ecosystem CI
  • Loading branch information
gsmet authored Dec 13, 2024
2 parents 1d11fb4 + 95a8916 commit dbeda2c
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion .github/workflows/quarkus-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
ECOSYSTEM_CI_REPO_PATH: platform

jobs:
build:
main:
name: "Build against Quarkus from main"
runs-on: ubuntu-latest
if: github.actor == 'quarkusbot'
Expand Down Expand Up @@ -61,3 +61,47 @@ jobs:
run: ./ecosystem-ci/setup-and-test
env:
ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}

lts-3-15:
name: "Build 3.15 against Quarkus latest 3.15"
runs-on: ubuntu-latest
if: github.actor == 'quarkusbot'

steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
path: current-repo
ref: 3.15

- name: Reclaim Disk Space
run: current-repo/.github/ci-prerequisites.sh

- name: Install yq
run: sudo add-apt-repository ppa:rmescandon/yq && sudo apt update && sudo apt install yq -y

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}

- name: Checkout Ecosystem
uses: actions/checkout@v4
with:
repository: ${{ env.ECOSYSTEM_CI_REPO }}
ref: main
path: ecosystem-ci

- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-ecosystem-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-ecosystem-
- name: Setup and Run Tests
run: ./ecosystem-ci/setup-and-test
env:
ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}
ALTERNATIVE: 3.15

0 comments on commit dbeda2c

Please sign in to comment.