Skip to content

Commit

Permalink
ci(workflow): added snapshot deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRONiN committed Apr 24, 2023
1 parent 58a1166 commit b25420d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploySnapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish LabAide to Maven repository
run-name: Deploy to Maven repo by @${{ github.actor }}
on: [ workflow_dispatch ]
jobs:
publish:
name: Publish [mvn-snapshot]
runs-on: ubuntu-latest
steps:
- name: Set up actions checkout
uses: actions/checkout@v2
- name: Set up JDK 18
uses: actions/setup-java@v1
with:
java-version: 18
- name: Set up maven credentials
uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "arcadelabs-repository-snapshots", "username": "${{ secrets.REPO_NAME }}", "password": "${{ secrets.REPO_TOKEN }}"}]'
- name: Publish with Maven
run: mvn deploy

0 comments on commit b25420d

Please sign in to comment.