Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRONiN committed Nov 4, 2022
2 parents b14bb00 + 9535325 commit 9038757
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: Publish LabAide to Maven repository
on: workflow_dispatch
run-name: Deploy to Maven repo by @${{ github.actor }}
on: [workflow_dispatch, release]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up actions checkout
uses: actions/checkout@v2
- name: Set up JDK 18
uses: actions/setup-java@v1
with:
java-version: 18
- uses: s4u/[email protected]
- name: Set up maven credentials
uses: s4u/[email protected]
with:
servers: |
[{
"id": "arcadelabs-mvn-releases",
"username": "${{ secrets.REPO_NAME }}",
"password": "${{ secrets.REPO_TOKEN }}"
}]
servers: '[{"id": "arcadelabs-mvn-releases", "username": "${{ secrets.REPO_NAME }}", "password": "${{ secrets.REPO_TOKEN }}"}]'
- name: Publish with Maven
run: mvn deploy -X
run: mvn deploy

0 comments on commit 9038757

Please sign in to comment.