Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cprudhom committed Sep 12, 2024
1 parent 687cb35 commit 5fc5af7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 181 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ master, develop, develop/**, hotfix/** ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ master, develop, develop/**, hotfix/**]
schedule:
- cron: '0 0 * * 0'

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Draft JOSS Paper

on: [push]
on:
push:
tags:
- 'v*'

jobs:
paper:
Expand Down
171 changes: 0 additions & 171 deletions .github/workflows/maven-publish.yml

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

name: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push, pull_request]

jobs:
test-solver:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
workflows: [ "Java CI with Maven" ]
types: [completed]
push:
branches:
- master
branches: [ develop ]
tags: [ 'v*' ]

jobs:
publish:
Expand All @@ -26,6 +26,10 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Build with Maven
run: mvn -B --file pom.xml package -Dgroups="1s,10s,checker"

- name: publish packages
run: mvn -P ossrhDeploy --batch-mode -DskipTests javadoc:aggregate-jar source:jar deploy
env:
Expand Down

0 comments on commit 5fc5af7

Please sign in to comment.