mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-14 20:59:28 -07:00
Simplified All Installer workflow
No need to make exceptions in this workflow for different OSes it's called the **All** Installer for a reason. If people need a specific OS installer run the linux, macos or windows installer itself. Added a time-out to the macos workflow if the self-hosted isn't online. Moved the ARM64 jobs to the end and added an `always()` condition to the update of the release, such that the GH hosted runners will at least update. Add missing download for MacOS X64 Contributes to CURA-10475 and CURA-10591
This commit is contained in:
parent
8126b9a6f6
commit
69bdcfa52f
4 changed files with 782 additions and 825 deletions
29
.github/workflows/linux.yml
vendored
29
.github/workflows/linux.yml
vendored
|
|
@ -38,7 +38,7 @@ on:
|
|||
type: choice
|
||||
options:
|
||||
- ubuntu-22.04
|
||||
- ubuntu-20.04
|
||||
|
||||
workflow_call:
|
||||
inputs:
|
||||
cura_conan_version:
|
||||
|
|
@ -82,6 +82,7 @@ env:
|
|||
|
||||
jobs:
|
||||
cura-installer-create:
|
||||
timeout-minutes: 30
|
||||
runs-on: ${{ inputs.operating_system }}
|
||||
|
||||
steps:
|
||||
|
|
@ -257,19 +258,19 @@ jobs:
|
|||
dist/${{ steps.filename.outputs.INSTALLER_FILENAME }}.AppImage
|
||||
retention-days: 5
|
||||
|
||||
- name: Write the run info
|
||||
shell: python
|
||||
run: |
|
||||
import os
|
||||
with open("run_info.sh", "w") as f:
|
||||
f.writelines(f'echo "CURA_VERSION_FULL={os.environ["CURA_VERSION_FULL"]}" >> $GITHUB_ENV\n')
|
||||
- name: Upload the run info
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: linux-run-info
|
||||
path: |
|
||||
run_info.sh
|
||||
retention-days: 5
|
||||
- name: Write the run info
|
||||
shell: python
|
||||
run: |
|
||||
import os
|
||||
with open("run_info.sh", "w") as f:
|
||||
f.writelines(f'echo "CURA_VERSION_FULL={os.environ["CURA_VERSION_FULL"]}" >> $GITHUB_ENV\n')
|
||||
- name: Upload the run info
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: linux-run-info
|
||||
path: |
|
||||
run_info.sh
|
||||
retention-days: 5
|
||||
|
||||
notify-export:
|
||||
if: ${{ always() }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue