Contributes to CURA-8415
This commit is contained in:
Jelle Spijker 2023-08-19 01:21:45 +02:00
parent 8ea4dabcea
commit c1e27a9016
No known key found for this signature in database
GPG Key ID: 034D1C0527888B65

View File

@ -199,23 +199,32 @@ jobs:
for package in pkg_resources.working_set: for package in pkg_resources.working_set:
f.writelines(f"`{package.key}/{package.version}`\n") 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 uses: actions/upload-artifact@v3
with: with:
name: dist name: dist
path: | path: |
dist/ dist/${{ steps.filename.outputs.INSTALLER_FILENAME }}.zip
retention-days: 5 retention-days: 5
cura-installer-create-exe: cura-installer-create-exe:
needs: [ cura-installer-create ] needs: [ cura-installer-create ]
runs-on: ${{ inputs.operating_system }} runs-on: ${{ inputs.operating_system }}
steps: steps:
- name: Download the dist - name: Download the zipped dist
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: dist 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 - name: Create PFX certificate from BASE64_PFX_CONTENT secret
id: create-pfx id: create-pfx
env: env:
@ -255,6 +264,10 @@ jobs:
with: with:
name: dist 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 - name: Create PFX certificate from BASE64_PFX_CONTENT secret
id: create-pfx id: create-pfx
env: env: