Skip to content

Commit 9fade35

Browse files
Update common files
1 parent 7f65c16 commit 9fade35

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

.clineignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ build/
66
*/build/
77
!build/docs/
88
!build/docs/**
9+
!build/generated/
10+
!build/generated/**
911

1012
# === Dependency/Cache directories ===
1113
.gradle/

.github/workflows/graalvm-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
with:
5555
java: ${{ matrix.java }}
5656
distribution: ${{ matrix.distribution }}
57+
nativeTestTask: ${{ matrix.native_test_task }}
5758
- name: Build Steps
5859
uses: micronaut-projects/github-actions/graalvm/build@master
5960
id: build

.github/workflows/graalvm-latest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
distribution: 'graalvm'
5858
gradle-java: '21'
5959
java: ${{ matrix.java }}
60+
nativeTestTask: ${{ matrix.native_test_task }}
6061
- name: Build Steps
6162
uses: micronaut-projects/github-actions/graalvm/build@master
6263
id: build

.github/workflows/gradle.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
java: ['21']
22+
java: ['21', '25']
2323
env:
2424
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
2525
DEVELOCITY_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
@@ -119,3 +119,7 @@ jobs:
119119
GH_TOKEN: ${{ secrets.GH_TOKEN }}
120120
BRANCH: gh-pages
121121
FOLDER: build/docs
122+
123+
- name: "❓ Optional cleanup step"
124+
run: |
125+
[ -f ./cleanup.sh ] && ./cleanup.sh || [ ! -f ./cleanup.sh ]

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,14 @@ jobs:
9494
GH_USERNAME: ${{ secrets.GH_USERNAME }}
9595
- name: Export Gradle Properties
9696
uses: micronaut-projects/github-actions/export-gradle-properties@master
97+
- name: LATEST_TAG
98+
run: |
99+
echo "LATEST_TAG=$(curl -s -L -H 'Accept: application/vnd.github+json' -H 'X-GitHub-Api-Version: 2022-11-28' https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r '.tag_name')" >> $GITHUB_ENV
97100
- name: Publish to Github Pages
98101
if: success()
99102
uses: micronaut-projects/github-pages-deploy-action@master
100103
env:
101-
BETA: ${{ !(github.event.release.target_commitish == github.event.repository.default_branch) || contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
104+
BETA: ${{ !(github.event.release.tag_name == env.LATEST_TAG) || github.event.release.draft || github.event.release.prerelease || contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
102105
GH_TOKEN: ${{ secrets.GH_TOKEN }}
103106
BRANCH: gh-pages
104107
FOLDER: build/docs

0 commit comments

Comments
 (0)