Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 49 additions & 13 deletions .github/workflows/createrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,20 @@ jobs:
- name: Run Unit Tests
run: dotnet test TransactionMobile.Maui.BusinessLogic.Tests/TransactionMobile.Maui.BusinessLogic.Tests.csproj

#- name: Upload Android Artifact
# uses: actions/upload-artifact@v2.3.1
# with:
# name: android-ci-build
# path: TransactionMobile.Maui/bin/Release/net6.0-android/*Signed.a*

- name: Upload Android Artifact
uses: actions/upload-artifact@v2.3.1
with:
name: android-ci-build
path: TransactionMobile.Maui/bin/Release/net6.0-android/*Signed.a*
uses: svenstaro/upload-release-action@v2
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: TransactionMobile.Maui/bin/Release/net6.0-android/*Signed.apk
asset_name: Transaction Mobile POS v${{ github.ref }}.apk
tag: ${{ github.ref }}
overwrite: true

release_windows:
runs-on: windows-2022
Expand Down Expand Up @@ -105,12 +114,21 @@ jobs:
- name: Run Unit Tests
run: dotnet test TransactionMobile.Maui.BusinessLogic.Tests/TransactionMobile.Maui.BusinessLogic.Tests.csproj

#- name: Upload Windows Artifact
# uses: actions/upload-artifact@v2.3.1
# with:
# name: windows-ci-build
# path: |
# TransactionMobile.Maui/bin/Release/net6.0-windows*/**/TransactionMobile.Maui*.msix

- name: Upload Windows Artifact
uses: actions/upload-artifact@v2.3.1
with:
name: windows-ci-build
path: |
TransactionMobile.Maui/bin/Release/net6.0-windows*/**/TransactionMobile.Maui*.msix
uses: svenstaro/upload-release-action@v2
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: TransactionMobile.Maui/bin/Release/net6.0-windows*/**/TransactionMobile.Maui*.msix
asset_name: Transaction Mobile POS v${{ github.ref }}.msix
tag: ${{ github.ref }}
overwrite: true

released-mac:
runs-on: macos-11
Expand Down Expand Up @@ -139,11 +157,20 @@ jobs:
- name: Run Unit Tests
run: dotnet test TransactionMobile.Maui.BusinessLogic.Tests/TransactionMobile.Maui.BusinessLogic.Tests.csproj

#- name: Upload MacCatalyst Artifact
# uses: actions/upload-artifact@v2.3.1
# with:
# name: macos-ci-build
# path: TransactionMobile.Maui/bin/Release/net6.0-maccatalyst/**/*.app/

- name: Upload MacCatalyst Artifact
uses: actions/upload-artifact@v2.3.1
with:
name: macos-ci-build
path: TransactionMobile.Maui/bin/Release/net6.0-maccatalyst/**/*.app/
uses: svenstaro/upload-release-action@v2
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: TransactionMobile.Maui/bin/Release/net6.0-maccatalyst/**/*.app/
asset_name: Transaction Mobile POS v${{ github.ref }}.app
tag: ${{ github.ref }}
overwrite: true

release-ios:
runs-on: macos-11
Expand Down Expand Up @@ -172,8 +199,17 @@ jobs:
- name: Run Unit Tests
run: dotnet test TransactionMobile.Maui.BusinessLogic.Tests/TransactionMobile.Maui.BusinessLogic.Tests.csproj

#- name: Upload iOS Artifact
# uses: actions/upload-artifact@v2.3.1
# with:
# name: ios-ci-build
# path: TransactionMobile.Maui/bin/Release/net6.0-ios/**/*.app/

- name: Upload iOS Artifact
uses: actions/upload-artifact@v2.3.1
with:
name: ios-ci-build
path: TransactionMobile.Maui/bin/Release/net6.0-ios/**/*.app/
uses: svenstaro/upload-release-action@v2
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: TransactionMobile.Maui/bin/Release/net6.0-ios/**/*.app/
asset_name: Transaction Mobile POS v${{ github.ref }}.app
tag: ${{ github.ref }}
overwrite: true