Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry08 committed Oct 7, 2024
1 parent 3384c39 commit 52987c1
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,25 @@ env:
jobs:
# MAUI Android Build
build-android:
runs-on: windows-latest
#runs-on: windows-latest

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

name: Android Build
strategy:
matrix:
rid:
- android-armeabi-v7a
- android-arm64-v8a
- android-x86
- android-x64

runs-on: windows-latest
timeout-minutes: 10

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -50,6 +61,7 @@ jobs:
-p:AndroidSigningKeyAlias="YosuAlias"
-p:AndroidSigningKeyPass="${{ secrets.PASSWORD }}"
-p:CSharpier_Bypass=true
--runtime ${{ matrix.rid }}
- name: Rename file
run: |
Expand All @@ -61,8 +73,8 @@ jobs:
- name: Upload Android Artifact
uses: actions/upload-artifact@v4
with:
name: Yosu
path: Yosu.apk
name: Yosu-${{ matrix.rid }}
path: Yosu-${{ matrix.rid }}.apk

deploy:
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
Expand Down

0 comments on commit 52987c1

Please sign in to comment.