fix: image & tag creation script #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GraalVM Native Image builds | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: HelloWorld on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: get-name | |
run: | | |
echo "REPO_NAME=$(basename ${{ github.repository }})" >> $GITHUB_ENV | |
- uses: actions/checkout@v4 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '22' | |
distribution: 'graalvm' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
native-image-job-reports: 'true' | |
- name: Build native image | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Pipeline" | |
./create-image.sh ${{ matrix.os }} | |
# - name: Commit & Push changes | |
# uses: actions-js/push@master | |
# with: | |
# rebase: true | |
# tags: true | |
# message: 'chore: binary image for ${{matrix.os}}' | |
# github_token: ${{ secrets.GITHUB_TOKEN }} |