diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a76716ea..e4ca6eb7 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -32,9 +32,7 @@ jobs: with: name: macos-natives path: | - blas/target/native/macos-*/ - lapack/target/native/macos-*/ - arpack/target/native/macos-*/ + */target/native/macos-*/ if-no-files-found: error build-jar: @@ -63,7 +61,7 @@ jobs: name: macos-natives path: . - name: Build - run: mvn --batch-mode compile test-compile process-classes jar:jar + run: mvn --batch-mode package -DskipTests - name: Log content of jar files run: | for module in blas lapack arpack; do @@ -75,9 +73,7 @@ jobs: with: name: target-dir path: | - blas/target/ - lapack/target/ - arpack/target/ + */target/ if-no-files-found: error test-linux: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 573c37c9..3c74e6d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,9 +32,7 @@ jobs: with: name: macos-natives path: | - blas/target/native/macos-*/ - lapack/target/native/macos-*/ - arpack/target/native/macos-*/ + */target/native/macos-*/ if-no-files-found: error build-jar: @@ -63,7 +61,7 @@ jobs: name: macos-natives path: . - name: Build - run: mvn --batch-mode compile test-compile process-classes jar:jar + run: mvn --batch-mode package -DskipTests - name: Log content of jar files run: | for module in blas lapack arpack; do @@ -75,9 +73,7 @@ jobs: with: name: target-dir path: | - blas/target/ - lapack/target/ - arpack/target/ + */target/ if-no-files-found: error test-linux: @@ -171,18 +167,16 @@ jobs: server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - name: Publish to Sonatype OSSRH - run: mvn --batch-mode -DskipTests deploy + run: mvn --batch-mode -DskipTests -Dmaven.main.skip -Dmaven.install.skip -Dmaven.antrun.skip=true deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - name: Create Release id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2 with: tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} + name: ${{ github.ref }} draft: true benchmark: