File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed
Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 3232 with :
3333 name : macos-natives
3434 path : |
35- blas/target/native/macos-*/
36- lapack/target/native/macos-*/
37- arpack/target/native/macos-*/
35+ */target/native/macos-*/
3836 if-no-files-found : error
3937
4038 build-jar :
6361 name : macos-natives
6462 path : .
6563 - name : Build
66- run : mvn --batch-mode compile test-compile process-classes jar:jar
64+ run : mvn --batch-mode package -DskipTests
6765 - name : Log content of jar files
6866 run : |
6967 for module in blas lapack arpack; do
7573 with :
7674 name : target-dir
7775 path : |
78- blas/target/
79- lapack/target/
80- arpack/target/
76+ */target/
8177 if-no-files-found : error
8278
8379 test-linux :
Original file line number Diff line number Diff line change 3232 with :
3333 name : macos-natives
3434 path : |
35- blas/target/native/macos-*/
36- lapack/target/native/macos-*/
37- arpack/target/native/macos-*/
35+ */target/native/macos-*/
3836 if-no-files-found : error
3937
4038 build-jar :
6361 name : macos-natives
6462 path : .
6563 - name : Build
66- run : mvn --batch-mode compile test-compile process-classes jar:jar
64+ run : mvn --batch-mode package -DskipTests
6765 - name : Log content of jar files
6866 run : |
6967 for module in blas lapack arpack; do
7573 with :
7674 name : target-dir
7775 path : |
78- blas/target/
79- lapack/target/
80- arpack/target/
76+ */target/
8177 if-no-files-found : error
8278
8379 test-linux :
@@ -171,18 +167,16 @@ jobs:
171167 server-password : MAVEN_PASSWORD
172168 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
173169 - name : Publish to Sonatype OSSRH
174- run : mvn --batch-mode -DskipTests deploy
170+ run : mvn --batch-mode -DskipTests -Dmaven.main.skip -Dmaven.install.skip -Dmaven.antrun.skip=true deploy
175171 env :
176172 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
177173 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
178174 - name : Create Release
179175 id : create_release
180- uses : actions/create-release@v1
181- env :
182- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
176+ uses : softprops/action-gh-release@v2
183177 with :
184178 tag_name : ${{ github.ref }}
185- release_name : ${{ github.ref }}
179+ name : ${{ github.ref }}
186180 draft : true
187181
188182 benchmark :
You can’t perform that action at this time.
0 commit comments