-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from joaomanaia/compose-multiplatform
Compose multiplatform
- Loading branch information
Showing
144 changed files
with
2,018 additions
and
1,034 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Build CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "main" ] | ||
paths-ignore: | ||
- '**.md' | ||
pull_request: | ||
branches: [ "main" ] | ||
paths-ignore: | ||
- '**.md' | ||
|
||
permissions: | ||
contents: read | ||
checks: write | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "build" | ||
cancel-in-progress: false | ||
|
||
env: | ||
JAVA_VERSION: "17" | ||
JAVA_DISTR: 'corretto' | ||
|
||
jobs: | ||
package-web: | ||
name: "📦 Build Web" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v4 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: ${{ env.JAVA_DISTR }} | ||
java-version: ${{ env.JAVA_VERSION }} | ||
|
||
- name: Setup gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
|
||
- name: Build Web | ||
run: ./gradlew wasmJsBrowserDistribution --stacktrace | ||
|
||
- name: Upload Web artifacts | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./composeApp/build/dist/wasmJs/productionExecutable/ | ||
|
||
deploy-web: | ||
name: "🚀 Deploy Web" | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: gh-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
needs: | ||
- package-web | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
119 changes: 0 additions & 119 deletions
119
app/src/main/java/com/joaomanaia/game2048/MainActivity.kt
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
app/src/main/java/com/joaomanaia/game2048/core/common/annotation/NamedQualifierRuntime.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.