Skip to content

Commit

Permalink
Fixes issue #227 - Fix build workflow (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Mar 25, 2023
1 parent b019099 commit 09f423e
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,43 +24,3 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java 17
uses: actions/setup-java@v1
with:
java-version: 17
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build project
run: mvn -B -ntp install
- name: Deploy macOS .dmg file
run: |
cd cli-macos
mvn -B -ntp deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java 17
uses: actions/setup-java@v1
with:
java-version: 17
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build project
run: mvn -B -ntp install
- name: Deploy Windows .msi file
run: |
cd cli-windows
mvn -B -ntp deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 comments on commit 09f423e

Please sign in to comment.