Skip to content

Commit

Permalink
ci: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Sep 4, 2023
1 parent 7e41c8b commit 6ad966c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,23 @@ jobs:

- name: 'Build Native Image (Linux)'
if: ${{ runner.os == 'Linux' }}
run: ./mvnw -ntp -B --file pom.xml -Pnative package
run: |
./mvnw -ntp -B --file pom.xml -Pnative package
- name: 'Build Native Image (macOS)'
if: ${{ runner.os == 'macOS' }}
run: ./mvnw -ntp -B --file pom.xml -Pnative package "-DskipTests"
run: |
./mvnw -ntp -B --file pom.xml -Pnative package "-DskipTests"
- name: 'Build Distribution'
run: |
./mvnw -ntp -B --file pom.xml -Pdist package -DskipTests
- name: 'Build Debian Package (Linux)'
if: ${{ runner.os == 'Linux' }}
run: |
./mvnw -ntp -B --file pom.xml -Pdeb package
- name: 'Upload build artifact'
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -148,7 +155,7 @@ jobs:
- name: 'Release with JReleaser'
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.PAT }}
run: ./mvnw -ntp -B --file ./jikkou-cli/pom.xml -Prelease -DartifactsDir=artifacts jreleaser:full-release

- name: 'JReleaser output'
Expand Down

0 comments on commit 6ad966c

Please sign in to comment.