Skip to content

Commit

Permalink
ci(provide releases jar suited for native compile)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Bibonne authored May 21, 2024
1 parent 13c180f commit e90bd12
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Build and Release'

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Build
run: >
mvn -B install --file metadata-oas/pom.xml
mvn -B install --file metadata-modelapi/pom.xml
mvn -B install --file metadata-interfaceapi/pom.xml
mvn -B -Pnative package --file metadata-webimpl/pom.xml
- name: Release
uses: softprops/action-gh-release@v2
with:
files: metadata-webimpl/target/metadata.jar

0 comments on commit e90bd12

Please sign in to comment.