diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 25aca0d2c9..715b05056b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -199,23 +199,32 @@ jobs: for package in pkg_resources.working_set: f.writelines(f"`{package.key}/{package.version}`\n") - - name: upload the dist folder + + - name: Archive the artifacts (Powershell) + run: Compress-Archive -Path ".\UltiMaker-Cura" -DestinationPath ".\${{ steps.filename.outputs.INSTALLER_FILENAME }}.zip" + working-directory: dist + + - name: upload the zipped dist folder uses: actions/upload-artifact@v3 with: name: dist path: | - dist/ + dist/${{ steps.filename.outputs.INSTALLER_FILENAME }}.zip retention-days: 5 cura-installer-create-exe: needs: [ cura-installer-create ] runs-on: ${{ inputs.operating_system }} steps: - - name: Download the dist + - name: Download the zipped dist uses: actions/download-artifact@v3 with: name: dist + - name: Extract the zipped dist + run: Expand-Archive -Path ".\dist\${{ needs.cura-installer-create.outputs.INSTALLER_FILENAME }}.zip" -DestinationPath ".\dist" + shell: powershell + - name: Create PFX certificate from BASE64_PFX_CONTENT secret id: create-pfx env: @@ -255,6 +264,10 @@ jobs: with: name: dist + - name: Extract the zipped dist + run: Expand-Archive -Path ".\dist\${{ needs.cura-installer-create.outputs.INSTALLER_FILENAME }}.zip" -DestinationPath ".\dist" + shell: powershell + - name: Create PFX certificate from BASE64_PFX_CONTENT secret id: create-pfx env: