Skip to content

Commit

Permalink
Fix release task (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
munishchouhan authored Jul 30, 2024
1 parent 45cadb9 commit 136f9fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Upload linux native image artifact
uses: actions/upload-artifact@v4
with:
name: migtool_linux
name: migtool-linux
path: build/native/nativeCompile/migtool
overwrite: true

Expand All @@ -78,17 +78,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download all build artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

- name: Setup Java for JReleaser
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'

- name: Version
id: version
Expand Down
2 changes: 1 addition & 1 deletion jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ distributions:
migtool:
type: NATIVE_IMAGE
artifacts:
- path: "migtool_linux/migtool"
- path: "migtool-linux/migtool"
transform: "{{distributionName}}-linux-x86_64"
platform: linux-x86_64

0 comments on commit 136f9fe

Please sign in to comment.