Skip to content

Commit

Permalink
Update actions (#1099)
Browse files Browse the repository at this point in the history
* Update actions

* Update actions
  • Loading branch information
cprudhom authored Sep 9, 2024
1 parent 2afff0a commit bed08fb
Show file tree
Hide file tree
Showing 5 changed files with 10 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 ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ master, develop ]
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
5 changes: 3 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,7 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

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

0 comments on commit bed08fb

Please sign in to comment.