Skip to content

Commit

Permalink
[DESKTOP] Add Mac Uber JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
kamgurgul committed Jan 15, 2025
1 parent a567936 commit 93c9408
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/desktop_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,25 @@ jobs:
path: desktopApp/build/compose/jars/*.jar

build_mac_uber_jar:
needs: code_quality
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build Uber JAR
run: ./gradlew :desktopApp:packageReleaseUberJarForCurrentOS
- name: Upload Uber JAR
uses: actions/upload-artifact@v4
with:
name: CPU-Info-macos-arm64-${{ github.event.inputs.version }}-release.jar
path: desktopApp/build/compose/jars/*.jar
needs: code_quality
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build Uber JAR
run: ./gradlew :desktopApp:packageReleaseUberJarForCurrentOS
- name: Upload Uber JAR
uses: actions/upload-artifact@v4
with:
name: CPU-Info-macos-arm64-${{ github.event.inputs.version }}-release.jar
path: desktopApp/build/compose/jars/*.jar

build_mac_dmg:
needs: code_quality
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
path: ${{ env.RELEASE_PATH }}

tag_and_create_release:
needs: [ build_msi, build_linux_x64_uber_jar, build_mac_dmg, build_mac_uber_jar ]
needs: [ build_msi, build_linux_x64_uber_jar, build_mac_dmg, build_mac_uber_jar ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -161,10 +161,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: CPU-Info-${{ github.event.inputs.version }}.dmg
- name: Download Mac OS Uber JAR
uses: actions/download-artifact@v4
with:
name: CPU-Info-macos-arm64-${{ github.event.inputs.version }}-release.jar
- name: Download Mac OS Uber JAR
uses: actions/download-artifact@v4
with:
name: CPU-Info-macos-arm64-${{ github.event.inputs.version }}-release.jar
- name: Tag Release
run: |
git config --local user.email "[email protected]"
Expand Down

0 comments on commit 93c9408

Please sign in to comment.