mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-22 04:29:01 +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:
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user