From a6c6594c7f289c8045cbfd1c04d938c5dcf7dbc5 Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Sat, 26 Mar 2022 12:35:49 +0000 Subject: [PATCH] Minor release updates --- .github/workflows/createrelease.yml | 62 +++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 13 deletions(-) diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml index 77d1c350..d8f4d31b 100644 --- a/.github/workflows/createrelease.yml +++ b/.github/workflows/createrelease.yml @@ -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 @@ -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 @@ -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 @@ -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