-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: build wallet_app example with java 21 (#437)
* CI: add job to build examples/wallet_app * fix: build examples/wallet_app with java 21
- Loading branch information
1 parent
cf98696
commit 97c67ed
Showing
4 changed files
with
38 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
FLUTTER_VERSION=3.27.1 | ||
JAVA_VERSION=21 | ||
STARKNET_RPC=http://localhost:5050 | ||
DEVNET_DUMP_PATH=/devnet-dump.json |
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,18 @@ | ||
name: 'Setup environment to build Android application' | ||
description: 'Configures Java and Android SDK for building Android applications' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Dotenv Action | ||
id: load-env | ||
uses: falti/[email protected] | ||
with: | ||
path: .env.ci | ||
- name: Java setup | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: ${{ steps.load-env.outputs.java_version }} | ||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 |
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,18 @@ | ||
name: Build android examples | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-wallet-app-example: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Flutter setup | ||
uses: ./.github/actions/flutter-setup | ||
- name: Java/Android setup | ||
uses: ./.github/actions/android-setup | ||
- uses: bluefireteam/melos-action@v3 | ||
- name: Build wallet_app example | ||
run: flutter build appbundle | ||
working-directory: ./examples/wallet_app |
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