Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Montura authored Jan 20, 2024
1 parent 6eef319 commit a07102d
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'main'

jobs:
build:
build_jar:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -26,6 +26,9 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Build with Maven
run: mvn -B package --file pom.xml

- run: mkdir staging && cp target/dxfeed-jni-native-sdk-*.jar staging
- uses: actions/upload-artifact@v4
with:
Expand All @@ -36,3 +39,19 @@ jobs:
run: mvn -B deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build_native:
runs-on: ubuntu-latest

steps:
- name: Change directory to native sources
run: cd src/main/c

- name: Install latest CMake and Ninja
- uses: lukka/get-cmake@latest

- name: Run CMake consuming CMakePreset.json and run vcpkg to build packages
- uses: lukka/run-cmake@v10
with:
cmakeListsTxtPath: ./CMakeLists.txt

0 comments on commit a07102d

Please sign in to comment.