Skip to content

Commit 8b74cb7

Browse files
committed
build: Update sample module structure and GitHub Pages workflow
- Updated GitHub Pages workflow to point to the new sample web distribution path `:sample:web:wasmJsBrowserDistribution`. - Adjusted artifact upload path in `gh-pages.yml` to reflect the reorganized project structure. - Updated the sample app reference in `README.md` to point to the correct file location in `sample/shared`.
1 parent 3c1a927 commit 8b74cb7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
cache-read-only: false
3737
cache-overwrite-existing: true
3838
- name: "Build WasmJS App"
39-
run: gradle :sample:wasmJsBrowserDistribution
39+
run: gradle :sample:web:wasmJsBrowserDistribution
4040
- name: Setup Pages
4141
uses: actions/configure-pages@v5
4242
- name: Upload artifact
4343
uses: actions/upload-pages-artifact@v3
4444
with:
45-
path: ./sample/build/dist/wasmJs/productionExecutable
45+
path: ./sample/web/build/dist/wasmJs/productionExecutable
4646

4747
deploy:
4848
environment:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fun App() = PreferableMaterialTheme {
5454
}
5555
}
5656
```
57-
Check the [sample app](sample/src/commonMain/kotlin/com/softartdev/shared/App.kt) for using with Material Design versions 2 & 3.
57+
Check the [sample app](sample/shared/src/commonMain/kotlin/com/softartdev/shared/App.kt) for using with Material Design versions 2 & 3.
5858

5959
The [NoteDelight](https://github.com/softartdev/NoteDelight/blob/master/shared-compose-ui/src/commonMain/kotlin/com/softartdev/notedelight/ui/SettingsScreen.kt#L104) app is a real example.
6060
## Installation

0 commit comments

Comments
 (0)