Skip to content

Commit

Permalink
Fixes issue #227 - Fix build workflow (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Apr 2, 2023
1 parent 09f423e commit 1d1e2a4
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,15 @@ jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java 17
uses: actions/setup-java@v1
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build project
run: mvn -B -ntp install
- name: Deploy Linux .tar.gz file
run: |
cd cli-linux
mvn -B -ntp deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
run: mvn -ntp install

0 comments on commit 1d1e2a4

Please sign in to comment.