diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml new file mode 100644 index 00000000000000..f8bd5e2958bd1c --- /dev/null +++ b/.github/workflows/maven-publish.yml @@ -0,0 +1,35 @@ +# 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: + release: + types: [created] + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + settings-path: ${{ github.workspace }} # location for the settings.xml file + + - name: Build with Maven + working-directory: ./fe + run: mvn package -pl hive-udf -am -Dmaven.test.skip=true + + - name: Publish to GitHub Packages Apache Maven + run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml + env: + GITHUB_TOKEN: ${{ github.token }} diff --git a/cloud/cmake/thirdparty.cmake b/cloud/cmake/thirdparty.cmake index 80e70c87ecac82..9f8b842313ae72 100644 --- a/cloud/cmake/thirdparty.cmake +++ b/cloud/cmake/thirdparty.cmake @@ -88,7 +88,9 @@ add_thirdparty(aws-c-mqtt LIB64) add_thirdparty(aws-checksums LIB64) add_thirdparty(aws-c-s3 LIB64) add_thirdparty(aws-c-sdkutils LIB64) -add_thirdparty(aws-s2n LIBNAME "lib/libs2n.a") +if (NOT OS_MACOSX) + add_thirdparty(aws-s2n LIBNAME "lib/libs2n.a") +endif() # end aws libs add_thirdparty(jsoncpp LIB64) add_thirdparty(uuid LIB64)