Skip to content

Include cstring

Include cstring #11

Workflow file for this run

# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
name: Maven Package
on:
push:
branches:
- 'main'
jobs:
build_jar:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'corretto'
- 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:
name: Package
path: staging
- name: Publish package
run: mvn -B deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build_native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build DxFeedJniNativeSdk
run: sh build_release.sh
working-directory: src/main/c/jni-lib