Skip to content

Commit

Permalink
add distzip job
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Nov 10, 2023
1 parent 08eb575 commit 410b9f6
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/kotlin-multiplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,25 @@ jobs:
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3g"
#
# archive-distribution:
# runs-on: macos-latest
# - uses: actions/checkout@v3
#
# - name: JDK setup
# uses: actions/setup-java@v3
# with:
# java-version: 17
# distribution: corretto
#
# - name: DistZip
# run: |
# ./gradlew distZip --no-daemon --stacktrace
#
# - name: Archive packages
# uses: actions/upload-artifact@v3
# with:
# name: ${{ github.sha }}
# if-no-files-found: error
# path: |
# ./*/build/distributions/*.zip

archive-distribution:
runs-on: macos-latest
- uses: actions/checkout@v3

- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: 17
distribution: corretto

- name: DistZip
run: |
./gradlew distZip --no-daemon --stacktrace
- name: Archive packages
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
if-no-files-found: error
path: |
./*/build/distributions/*.zip

0 comments on commit 410b9f6

Please sign in to comment.