Skip to content

Commit

Permalink
build: Use official GraalVM action for releasing. (#366)
Browse files Browse the repository at this point in the history
Closes #364.
  • Loading branch information
michael-simons committed Jan 6, 2022
1 parent 3923423 commit 5ffda5c
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/release.yml
Expand Up @@ -51,15 +51,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
gu-binary: [ gu, gu.cmd ]
exclude:
- os: ubuntu-latest
gu-binary: gu.cmd
- os: macos-latest
gu-binary: gu.cmd
- os: windows-latest
gu-binary: gu
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -75,19 +67,13 @@ jobs:
with:
ref: ${{ env.refName }}

- name: 'Add Developer Command Prompt for Microsoft Visual C++ '
if: ${{ runner.os == 'Windows' }}
uses: ilammy/msvc-dev-cmd@v1

- name: 'Set up Graal'
uses: DeLaGuardo/setup-graalvm@4.0
uses: graalvm/setup-graalvm@v1
with:
graalvm: '21.3.0'
java: 'java17'

- name: 'Install native-image component'
run: |
${{ matrix.gu-binary }} install native-image
version: '21.3.0'
java-version: '17'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: 'Create distribution'
run: >
Expand Down

0 comments on commit 5ffda5c

Please sign in to comment.