From 3337ad4c7200eeb1c79f12a932437ab4c992e529 Mon Sep 17 00:00:00 2001 From: Marcus Markiewicz <43656407+supermem613@users.noreply.github.com> Date: Sun, 4 Jul 2021 21:38:58 -0400 Subject: [PATCH] Update CD.yml --- .github/workflows/CD.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index df5a325..6a8b915 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -73,12 +73,6 @@ jobs: - name: Remove the pfx run: Remove-Item -path "./Source/Packaging/GitHubActionsWorkflow.pfx" - - name: Upload artifact - uses: actions/upload-artifact@v1.0.0 - with: - name: MSIX - path: "./Source/Packaging/AppPackages/" - # Create the release: https://github.com/actions/create-release - name: Create release id: create_release @@ -90,3 +84,13 @@ jobs: release_name: ${{ github.ref }}.${{ matrix.ChannelName }}.${{ matrix.targetplatform }} draft: true prerelease: true + + - name: Upload Release Asset + uses: actions/upload-release-asset@v1.0.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./Source/Packaging/AppPackages/ + asset_name: ${{ matrix.MsixPackageId }}.msix + asset_content_type: application/msix