Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
harryzcy committed Jul 11, 2024
1 parent 536c1b4 commit 66dcdc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- '*'
tags:
- '*'
pull_request:
Expand Down Expand Up @@ -58,6 +59,7 @@ jobs:
matrix:
os: [macOS-12, ubuntu-latest]
libc: [default, musl]
java: [11, 17]
exclude:
- os: macOS-12
libc: musl
Expand All @@ -84,7 +86,7 @@ jobs:
uses: graalvm/setup-graalvm@v1
with:
version: '22.3.0'
java-version: '11'
java-version: ${{ matrix.java }}
components: 'native-image'
native-image-musl: ${{ matrix.libc == 'musl' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -108,7 +110,6 @@ jobs:
dockerize:
needs: [native-image,test]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v') && github.event_name != 'release'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -132,5 +133,5 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64/v8
push: true
push: ${{ startsWith(github.ref, 'refs/tags/v') && github.event_name != 'release' }}
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 66dcdc3

Please sign in to comment.