Skip to content

Commit

Permalink
Update Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
juraj-hrivnak authored Feb 16, 2024
1 parent 94ab1d6 commit 9ed2804
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Upload Native Binary
uses: actions/upload-artifact@v3
with:
name: native-package-${{ runner.os }}
name: native-package-${{ matrix.os }}
path: |
build/bin/native/releaseExecutable/pakku
build/bin/native/releaseExecutable/pakku-macos
Expand Down Expand Up @@ -106,13 +106,14 @@ jobs:
name: Release
runs-on: ubuntu-latest
needs: [build-native, build-jvm]
permissions:
contents: write
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
path: build
pattern: "*-package*"
path: package
merge-multiple: true

- name: Create release
Expand All @@ -121,13 +122,10 @@ jobs:
prerelease: true
generate_release_notes: true
files: |
build/pakku
build/pakku-macos
build/pakku.exe
build/pakku.jar
tag_name: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/pakku
package/pakku-macos
package/pakku.exe
package/pakku.jar
env:
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=true -Dkotlin.incremental=false -Dorg.gradle.project.kotlin.incremental.multiplatform=false -Dorg.gradle.project.kotlin.native.disableCompilerDaemon=true -Dorg.gradle.jvmargs="-Xmx5g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

0 comments on commit 9ed2804

Please sign in to comment.