Skip to content

Commit

Permalink
chore(Desktop): Build licenses report
Browse files Browse the repository at this point in the history
  • Loading branch information
AChep committed Jan 9, 2025
1 parent 25da981 commit 4d6e0d0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/new_tag_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
uses: gradle/actions/setup-gradle@v4
env:
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
- name: "Check and Build licenses"
run: ./gradlew desktopApp:licenseeJvm
- name: "Move licenses"
run: |
mv -f desktopApp/build/reports/licensee/jvm/artifacts.json common/src/commonMain/composeResources/files/licenses.json
- name: "Build"
run: ./gradlew :desktopApp:packageDmg :desktopApp:notarizeDmg
- name: "Upload logs"
Expand Down Expand Up @@ -114,6 +119,11 @@ jobs:
uses: gradle/actions/setup-gradle@v4
env:
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
- name: "Check and Build licenses"
run: ./gradlew desktopApp:licenseeJvm
- name: "Move licenses"
run: |
mv -f desktopApp/build/reports/licensee/jvm/artifacts.json common/src/commonMain/composeResources/files/licenses.json
- name: "Build"
run: ./gradlew :desktopApp:packageDmg :desktopApp:notarizeDmg
- name: 'Upload logs'
Expand Down Expand Up @@ -171,6 +181,11 @@ jobs:
uses: gradle/actions/setup-gradle@v4
env:
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
- name: "Check and Build licenses"
run: ./gradlew desktopApp:licenseeJvm
- name: "Move licenses"
run: |
mv -f desktopApp/build/reports/licensee/jvm/artifacts.json common/src/commonMain/composeResources/files/licenses.json
- name: "Build"
run: ./gradlew :desktopApp:bundleFlatpak
- name: 'Upload .flatpak'
Expand Down Expand Up @@ -204,6 +219,11 @@ jobs:
uses: gradle/actions/setup-gradle@v4
env:
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
- name: "Check and Build licenses"
run: ./gradlew desktopApp:licenseeJvm
- name: "Move licenses"
run: |
mv -Force desktopApp/build/reports/licensee/jvm/artifacts.json common/src/commonMain/composeResources/files/licenses.json
- name: "Build"
run: ./gradlew :desktopApp:packageMsi
- name: 'Upload .msi'
Expand Down

0 comments on commit 4d6e0d0

Please sign in to comment.