@@ -39,47 +39,47 @@ jobs:
3939 run : |
4040 echo -n "${{ secrets.ANDROID_KEYSTORE }}" | base64 -d > $RUNNER_TEMP/key.jks
4141 - name : Build APK
42- run : ./gradlew composeApp :assembleRelease
42+ run : ./gradlew androidApp :assembleRelease
4343 - name : Build Deb
44- run : ./gradlew composeApp :packageDeb
44+ run : ./gradlew desktopApp :packageDeb
4545 - name : Build WASM
46- run : ./gradlew composeApp :wasmJsBrowserDistribution
46+ run : ./gradlew webApp :wasmJsBrowserDistribution
4747 - name : Build JS
48- run : ./gradlew composeApp :jsBrowserDistribution
48+ run : ./gradlew webApp :jsBrowserDistribution
4949 - name : Generate release assets
5050 if : ${{ startsWith(github.ref, 'refs/tags/') }}
5151 env :
5252 VERSION : ${{ github.ref_name }}
5353 run : |
5454 JS_ZIP="com.shreyashkore.wonderouscompose_$VERSION-JS.zip"
5555 WASM_ZIP="com.shreyashkore.wonderouscompose_$VERSION-WASM.zip"
56- (cd ./composeApp /build/dist && zip -r $JS_ZIP js)
57- (cd ./composeApp /build/dist && zip -r $WASM_ZIP wasmJs)
56+ (cd ./webApp /build/dist && zip -r $JS_ZIP js)
57+ (cd ./webApp /build/dist && zip -r $WASM_ZIP wasmJs)
5858 - name : Release
5959 if : ${{ startsWith(github.ref, 'refs/tags/') }}
6060 uses : softprops/action-gh-release@v2.0.8
6161 with :
6262 token : ${{ secrets.TOKEN }}
6363 files : |
64- ./composeApp /build/outputs/apk/release/composeApp -release.apk
65- ./composeApp /build/compose/binaries/main/deb/*.deb
66- ./composeApp /build/dist/*.zip
64+ ./androidApp /build/outputs/apk/release/androidApp -release.apk
65+ ./desktopApp /build/compose/binaries/main/deb/*.deb
66+ ./webApp /build/dist/*.zip
6767
6868 - name : Deploy Wasm
6969 if : ${{ github.event_name == 'release' }}
7070 uses : JamesIves/github-pages-deploy-action@4.1.5
7171 with :
7272 token : ${{ secrets.TOKEN }}
7373 branch : main
74- folder : composeApp /build/dist/wasmJs/productionExecutable
74+ folder : webApp /build/dist/wasmJs/productionExecutable
7575 repository-name : ShreyashKore/wonderous-compose-wasm
7676 - name : Deploy JS
7777 if : ${{ github.event_name == 'release' }}
7878 uses : JamesIves/github-pages-deploy-action@4.1.5
7979 with :
8080 token : ${{ secrets.TOKEN }}
8181 branch : main
82- folder : composeApp /build/dist/js/productionExecutable
82+ folder : webApp /build/dist/js/productionExecutable
8383 repository-name : ShreyashKore/wonderous-compose-js
8484
8585 build_windows :
@@ -103,14 +103,14 @@ jobs:
103103 run : echo "sdk.dir=some_location" > ./local.properties
104104 - name : Build MSI
105105 run : |
106- ./gradlew composeApp :packageMsi
106+ ./gradlew desktopApp :packageMsi
107107 - name : Upload Release Asset
108108 if : ${{ startsWith(github.ref, 'refs/tags/') }}
109109 uses : softprops/action-gh-release@v2.0.8
110110 with :
111111 token : ${{ secrets.TOKEN }}
112112 files : |
113- ./composeApp /build/compose/binaries/main/msi/*.msi
113+ ./desktopApp /build/compose/binaries/main/msi/*.msi
114114
115115 # build_ios:
116116 # runs-on: macos-latest
0 commit comments