From 7fe7b54ea2192fed0481c96d7c3310e72bb9695b Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Sat, 26 Mar 2022 19:48:09 +0000 Subject: [PATCH 1/2] release tweaks --- .github/workflows/createrelease.yml | 31 ++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml index d8f4d31b..e8b9a15f 100644 --- a/.github/workflows/createrelease.yml +++ b/.github/workflows/createrelease.yml @@ -65,7 +65,7 @@ jobs: with: uses: svenstaro/upload-release-action@v2 repo_token: ${{ secrets.GITHUB_TOKEN }} - file: TransactionMobile.Maui/bin/Release/net6.0-android/*Signed.apk + file: TransactionMobile.Maui/bin/Release/net6.0-android/com.transactionprocessing.pos-Signed.apk asset_name: Transaction Mobile POS v${{ github.ref }}.apk tag: ${{ github.ref }} overwrite: true @@ -125,7 +125,7 @@ jobs: with: uses: svenstaro/upload-release-action@v2 repo_token: ${{ secrets.GITHUB_TOKEN }} - file: TransactionMobile.Maui/bin/Release/net6.0-windows*/**/TransactionMobile.Maui*.msix + file: TransactionMobile.Maui/bin/Release/net6.0-windows*/**/TransactionMobile.Maui_1.0.0.0_AnyCPU.msix asset_name: Transaction Mobile POS v${{ github.ref }}.msix tag: ${{ github.ref }} overwrite: true @@ -162,13 +162,19 @@ jobs: # with: # name: macos-ci-build # path: TransactionMobile.Maui/bin/Release/net6.0-maccatalyst/**/*.app/ - + - name: Zip release + uses: thedoctor0/zip-release@master + with: + path: TransactionMobile.Maui/bin/Release/net6.0-maccatalyst/maccatalyst-x64\TransactionMobile.Maui.app + type: 'zip' + filename: 'release.zip' + - name: Upload MacCatalyst Artifact with: 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 + file: release.zip + asset_name: Transaction Mobile POS v${{ github.ref }}.zip tag: ${{ github.ref }} overwrite: true @@ -205,11 +211,18 @@ jobs: # name: ios-ci-build # path: TransactionMobile.Maui/bin/Release/net6.0-ios/**/*.app/ - - name: Upload iOS Artifact + - name: Zip release + uses: thedoctor0/zip-release@master + with: + path: TransactionMobile.Maui/bin/Release/net6.0-ios/iossimulator-x64\TransactionMobile.Maui.app + type: 'zip' + filename: 'release.zip' + + - name: Upload MacCatalyst Artifact with: 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 + file: release.zip + asset_name: Transaction Mobile POS v${{ github.ref }}.zip tag: ${{ github.ref }} - overwrite: true + overwrite: true \ No newline at end of file From 31e5578f20d536279563d6408580c0a298b24dd8 Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Sun, 27 Mar 2022 06:54:15 +0100 Subject: [PATCH 2/2] :| --- .github/workflows/createrelease.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml index dd8fc541..ad6c8b9a 100644 --- a/.github/workflows/createrelease.yml +++ b/.github/workflows/createrelease.yml @@ -218,7 +218,6 @@ jobs: type: 'zip' filename: 'release.zip' - - name: Upload MacCatalyst Artifact - name: Upload iOS Artifact uses: svenstaro/upload-release-action@v2 with: