Skip to content

Commit

Permalink
Use official GH action
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Deu-Pons <[email protected]>
  • Loading branch information
jordeu committed Oct 16, 2023
1 parent d758993 commit f890bd5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 29 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
name: Linux
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
container: public.ecr.aws/seqera-labs/graalvm-static:21.3.0
timeout-minutes: 90

steps:
Expand All @@ -25,14 +24,13 @@ jobs:
fetch-depth: 1

- name: Setup Graalvm
uses: DeLaGuardo/setup-graalvm@master
with:
graalvm: '21.3.0'
java: 'java11'
arch: 'amd64'

- name: Install native-image component
run: gu install native-image
uses: graalvm/setup-graalvm@v1
with:
java-version: 17
distribution: 'graalvm'
components: 'native-image'
native-image-musl: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Tests
run: ./gradlew cleanTest test
Expand Down Expand Up @@ -80,7 +78,7 @@ jobs:
- name: Setup Java for JReleaser
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17

- name: Version
id: version
Expand Down
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=21.3.0.r11-grl
java=17.0.8-graalce
18 changes: 0 additions & 18 deletions graalvm-static/Dockerfile

This file was deleted.

0 comments on commit f890bd5

Please sign in to comment.