Skip to content

Commit

Permalink
feat(pipelines): Fix todo splash and icon issue in android demo #6912 (
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi authored Feb 22, 2024
1 parent 101cd32 commit 2dc6e48
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/todo-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,26 @@ jobs:

- name: Install Android Sdk platform tools
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"

- name: Delete App Icon
run: rm TodoSample/src/Client/TodoSample.Client.Maui/Resources/AppIcon/appicon.svg

- name: Extract App Icon from env
uses: timheuer/base64-to-file@v1
with:
fileDir: './TodoSample/src/Client/TodoSample.Client.Maui/Resources/AppIcon/'
fileName: 'appicon.svg'
encodedString: ${{ vars.TODO_ICON }}

- name: Delete App Splash Screen
run: rm TodoSample/src/Client/TodoSample.Client.Maui/Resources/Splash/splash.svg

- name: Extract App Splash Screen from env
uses: timheuer/base64-to-file@v1
with:
fileDir: './TodoSample/src/Client/TodoSample.Client.Maui/Resources/Splash/'
fileName: 'splash.svg'
encodedString: ${{ vars.TODO_SPLASH_SCREEN }}

- name: Generate CSS/JS files
run: dotnet build TodoSample/src/Client/TodoSample.Client.Core/TodoSample.Client.Core.csproj -t:BeforeBuildTasks --no-restore
Expand Down

0 comments on commit 2dc6e48

Please sign in to comment.