mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 20:19:32 +08:00
zip dist
Contributes to CURA-8415
This commit is contained in:
parent
8ea4dabcea
commit
c1e27a9016
19
.github/workflows/windows.yml
vendored
19
.github/workflows/windows.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user