Skip to content

Commit

Permalink
Update common files
Browse files Browse the repository at this point in the history
  • Loading branch information
micronaut-build committed Jun 20, 2023
1 parent 59fe00d commit 6316643
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/graalvm-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build Matrix
uses: micronaut-projects/github-actions/graalvm/build-matrix@master
uses: micronaut-projects/github-actions/graalvm/build-matrix@latest-graalvm-changes
id: build-matrix
with:
graalvm: 'dev'
java: '17'
build:
needs: build_matrix
if: github.repository != 'micronaut-projects/micronaut-project-template'
Expand All @@ -39,21 +36,21 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Pre-Build Steps
uses: micronaut-projects/github-actions/graalvm/pre-build@master
uses: micronaut-projects/github-actions/graalvm/pre-build@latest-graalvm-changes
id: pre-build
with:
graalvm: ${{ matrix.graalvm }}
java: ${{ matrix.java }}
java: '17'
- name: Build Steps
uses: micronaut-projects/github-actions/graalvm/build@master
id: build
env:
GH_TOKEN_PUBLIC_REPOS_READONLY: ${{ secrets.GH_TOKEN_PUBLIC_REPOS_READONLY }}
GH_USERNAME: ${{ secrets.GH_USERNAME }}
GRAALVM_QUICK_BUILD: true
with:
nativeTestTask: ${{ matrix.native_test_task }}
- name: Post-Build Steps
uses: micronaut-projects/github-actions/graalvm/post-build@master
id: post-build
with:
java: ${{ matrix.java }}
java: '17'
14 changes: 6 additions & 8 deletions .github/workflows/graalvm-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build Matrix
uses: micronaut-projects/github-actions/graalvm/build-matrix@master
uses: micronaut-projects/github-actions/graalvm/build-matrix@latest-graalvm-changes
id: build-matrix
with:
graalvm: 'latest'
java: '17'
build:
needs: build_matrix
if: github.repository != 'micronaut-projects/micronaut-project-template'
Expand All @@ -45,21 +42,22 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Pre-Build Steps
uses: micronaut-projects/github-actions/graalvm/pre-build@master
uses: micronaut-projects/github-actions/graalvm/pre-build@latest-graalvm-changes
id: pre-build
with:
graalvm: ${{ matrix.graalvm }}
java: ${{ matrix.java }}
distribution: 'graalvm-community'
java: '17'
- name: Build Steps
uses: micronaut-projects/github-actions/graalvm/build@master
id: build
env:
GH_TOKEN_PUBLIC_REPOS_READONLY: ${{ secrets.GH_TOKEN_PUBLIC_REPOS_READONLY }}
GH_USERNAME: ${{ secrets.GH_USERNAME }}
GRAALVM_QUICK_BUILD: true
with:
nativeTestTask: ${{ matrix.native_test_task }}
- name: Post-Build Steps
uses: micronaut-projects/github-actions/graalvm/post-build@master
id: post-build
with:
java: ${{ matrix.java }}
java: '17'
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
graalvm: [ 'latest']
distribution: [ 'graalvm-community']
java: ['17']
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
- name: "🔧 Setup GraalVM CE"
uses: graalvm/setup-graalvm@v1
with:
version: ${{ matrix.graalvm }}
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6316643

Please sign in to comment.