diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ee834b..2d68022 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 diff --git a/jreleaser.yml b/jreleaser.yml index ce9025c..484456c 100644 --- a/jreleaser.yml +++ b/jreleaser.yml @@ -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