Skip to content

Commit

Permalink
consolidate gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kukks committed Nov 28, 2024
1 parent 15d4d1d commit 9dff2cf
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 70 deletions.
51 changes: 49 additions & 2 deletions .github/workflows/desktop.yml → .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Test & Build the desktop app'
name: 'Test & Build the app'
on:
push:
branches:
Expand Down Expand Up @@ -93,4 +93,51 @@ jobs:
name: linux build
path: |
publish/linux-x64
publish/linux-arm64
publish/linux-arm64
build-android:
runs-on: windows-latest
steps:
# Setup code, .NET and Android
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install workloads
run: dotnet workload install maui
- name: Build
run: dotnet publish BTCPayApp.Maui/BTCPayApp.Maui.csproj -f net8.0-android -c Debug -o publish/android
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: android build
path: |
publish/android
# need a apple dev account to continue on this
# build-ios:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Setup Xcode version
# uses: maxim-lobanov/[email protected]
# with:
# xcode-version: 16.0
# - name: Setup .NET
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: 8.0.x
# - name: Install workloads
# run: dotnet workload install maui
# - name: Build
# run: dotnet publish BTCPayApp.Maui/BTCPayApp.Maui.csproj -f net8.0-ios -c Debug -o publish/ios
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: ios build
# path: |
# publish/ios
68 changes: 0 additions & 68 deletions .github/workflows/maui.yml

This file was deleted.

0 comments on commit 9dff2cf

Please sign in to comment.