Skip to content

Commit

Permalink
create ea stable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SentryMan committed Jun 15, 2024
1 parent 1473cf9 commit 76939eb
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 39 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/jdk-ea-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

name: JDK EA Stable

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '39 1 * * 1,3,5'

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ea
version: stable
- name: Maven cache
uses: actions/cache@v3
env:
cache-name: maven-cache
with:
path:
~/.m2
key: build-${{ env.cache-name }}
- name: Maven version
run: mvn --version
- name: Build with Maven
run: mvn package
79 changes: 40 additions & 39 deletions .github/workflows/jdk-ea.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@

name: JDK EA

on:
workflow_dispatch:
schedule:
- cron: '48 0 * * 6'

jobs:
build:

runs-on: ${{ matrix.os }}
permissions:
contents: read
packages: write
strategy:
fail-fast: false
matrix:
java_version: [GA,EA]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java_version }}
- name: Maven cache
uses: actions/cache@v3
env:
cache-name: maven-cache
with:
path:
~/.m2
key: build-${{ env.cache-name }}
- name: Build with Maven
run: mvn clean test


name: JDK EA

on:
pull_request:
workflow_dispatch:
schedule:
- cron: '48 0 * * 6'

jobs:
build:

runs-on: ${{ matrix.os }}
permissions:
contents: read
packages: write
strategy:
fail-fast: false
matrix:
java_version: [GA,EA]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java_version }}
- name: Maven cache
uses: actions/cache@v3
env:
cache-name: maven-cache
with:
path:
~/.m2
key: build-${{ env.cache-name }}
- name: Build with Maven
run: mvn clean test

0 comments on commit 76939eb

Please sign in to comment.