lotgs of cleanup #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI Cresco Dashboard | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: 'SONATYPE CRED' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Download Dependencies | |
run: curl -L https://github.com/CrescoEdge/executor/releases/download/1.1-SNAPSHOT/executor-1.1-SNAPSHOT.jar -o src/main/resources/executor-1.1-SNAPSHOT.jar | |
- name: Build with Maven | |
run: mvn package bundle:bundle | |
- name: Deploy to Maven | |
run: mvn deploy:deploy-file -Dfile=target/dashboard-1.1-SNAPSHOT.jar -Durl=https://oss.sonatype.org/content/repositories/snapshots -DrepositoryId=ossrh -DpomFile=pom.xml --settings ci-settings.xml -DskipTests=true -B | |
env: | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |