diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a1dc89..f4758ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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