Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akiojin/maui-build-github-action
https://github.com/akiojin/maui-build-github-action
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/akiojin/maui-build-github-action
- Owner: akiojin
- License: mit
- Created: 2024-02-25T23:46:27.000Z (9 months ago)
- Default Branch: develop
- Last Pushed: 2024-10-01T08:14:39.000Z (about 2 months ago)
- Last Synced: 2024-10-12T05:04:58.788Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 511 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# maui-build-github-action
This action will build in .NET MAUI.
Output is available on iOS/Android/Windows/macOS platforms.## Usage
### Simple usage
#### iOS build
```yml
- name: 🏭 .NET MAUI build
uses: akiojin/[email protected]
with:
framework: net8.0
build-target: iOS
```#### Team ID & Provisioning Profile UUID
```yml
- name: ⚙️ Setup Xcode environment (iOS)
uses: akiojin/setup-xcode-environment-github-action@v3
id: setup-xcode-environment
with:
type: development
app-identifier:
team-id:
git-url: ${{ secrets.APPLE_CERTIFICATE_GIT_URL }}
git-passphrase: ${{ secrets.APPLE_CERTIFICATE_GIT_PASSPHRASE }}
keychain-password: ${{ secrets.KEYCHAIN_PASSWORD }}- name: 🏭 .NET MAUI build & packagging (iOS)
uses: akiojin/[email protected]
with:
configuration: Debug
framework: net8.0
build-target: iOS
project: ${{ vars.PROJECT_NAME }}/${{ vars.PROJECT_NAME }}.csproj
codesign-key: ${{ env.APPLE_CERTIFICATE_SIGNING_IDENTITY }}
codesign-provision: ${{ env.APPLE_PROV_PROFILE_UUID }}
```#### Android builds
```yml
- name: 🏭 .NET MAUI build
uses: akiojin/[email protected]
with:
framework: net8.0
build-target: Android
```#### Keystore
```yml
- name: 🏭 .NET MAUI build & packagging (Android)
uses: akiojin/[email protected]
if: ${{ matrix.BUILD_TARGET == 'Android' }}
with:
configuration: Debug
framework: net8.0
build-target: Android
project: ${{ vars.PROJECT_NAME }}/${{ vars.PROJECT_NAME }}.csproj
android-signing-keystore: ${{ secrets.GOOGLE_KEYSTORE_BASE64 }}
android-signing-store-pass: ${{ secrets.GOOGLE_KEYSTORE_PASSWORD }}
```## License
Any contributions made under this project will be governed by the [MIT License](https://github.com/akiojin/maui-build-github-action/blob/main/LICENSE).