Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CURA-10951 build plugin as bundled plugin on the GH runners #16607

Merged
merged 69 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
e01b140
Update LimitXYAccelJerk.py
GregValiant Jun 29, 2023
fc159a2
Also make sure that the packaging tools can be run
jellespijker Aug 18, 2023
05ded48
inherit secrets
jellespijker Aug 19, 2023
cf97b97
don't cache pip
jellespijker Aug 19, 2023
deffdeb
checkout repo
jellespijker Aug 19, 2023
365166e
few minor fixes
jellespijker Aug 19, 2023
ddc4ec4
no trailing /
jellespijker Aug 19, 2023
28afca1
Nightlies
jellespijker Aug 19, 2023
76787b9
Update installers.yml for nightly release option
jellespijker Aug 19, 2023
ae33d03
Update LimitXYAccelJerk.py
GregValiant Aug 19, 2023
7a55124
Merge branch 'CURA-8415_self_hosted_runner' into CURA-9494_nightly
jellespijker Aug 20, 2023
4303695
Add automatic scheduled updates for nightly release
jellespijker Aug 20, 2023
d90da61
Fixed nighlty title alpha
jellespijker Aug 20, 2023
ac60b59
Fixed nightlies run check
jellespijker Aug 20, 2023
7efe485
Show version in Title bar except for actual releases
jellespijker Aug 20, 2023
6424c26
Show warning message when using nightly build
jellespijker Aug 20, 2023
d7a218b
Bundle the gradualflow plugin
jellespijker Aug 28, 2023
b648edd
Update requirements-conan-package.txt
jellespijker Aug 28, 2023
7cb2e96
Use pyarcus 10951
jellespijker Aug 29, 2023
df9e456
Merge branch 'CURA-10446_modify_gcode_path' into CURA-10951_gh_build_…
jellespijker Aug 29, 2023
89fe3d2
Don't use the import method
jellespijker Aug 29, 2023
8f0fb5e
Update LimitXYAccelJerk.py
GregValiant Aug 29, 2023
2f2b88f
Use the source_folder as a rootfor materials
jellespijker Aug 29, 2023
87b6ad6
Merge remote-tracking branch 'origin/main' into CURA-10951_gh_build_c…
jellespijker Aug 29, 2023
d3809f8
Still a header only
jellespijker Aug 29, 2023
1d73189
Merge branch 'CURA-10475_engineplugin' into CURA-10951_gh_build_curap…
jellespijker Aug 29, 2023
81b2aea
Merge branch 'main' into CURA-9494_nightly
jellespijker Aug 29, 2023
447aca3
Merge branch 'CURA-10475_engineplugin' into CURA-10951_gh_build_curap…
jellespijker Aug 30, 2023
eeb3050
Change the order of plugin deploy
jellespijker Aug 30, 2023
0210b06
Pyinstaller package directories from the instal directory
jellespijker Aug 30, 2023
4517364
Copy the bundled external package info
jellespijker Aug 30, 2023
7748379
Merge branch 'CURA-10475_engineplugin' into CURA-10951_gh_build_curap…
jellespijker Aug 30, 2023
c30c403
Don't exclude
jellespijker Aug 30, 2023
c62e392
use Windows slashes on Windows
jellespijker Aug 30, 2023
2d389a6
Windows packaging
jellespijker Aug 30, 2023
d2cd759
Merge branch 'main' into CURA-10951_gh_build_curapackage
casperlamboo Aug 30, 2023
3305044
Merge branch 'CURA-10475_engineplugin' into CURA-10951_gh_build_curap…
jellespijker Aug 31, 2023
f294833
Use shared curaengine_grpc_definitions
jellespijker Aug 31, 2023
f958d69
Override zlib version to 1.2.13
jellespijker Aug 31, 2023
5cf2ecc
Only use shared grpc defs on Linux
jellespijker Aug 31, 2023
59ce5a6
Don't build on linux-legacy
jellespijker Sep 1, 2023
e5aab09
Add AppImage-builder and dependencies
jellespijker Sep 1, 2023
68806f4
Allow objects to be placed near border
casperlamboo Sep 1, 2023
7fbd716
Bundling the Gradualflow plugin
jellespijker Sep 5, 2023
b5fbcce
Add AppImage builder configs and scripts
jellespijker Sep 5, 2023
f1df7f6
deploy packaging scripts
jellespijker Sep 5, 2023
c5e3821
Fix the AppImage-builder scripts
jellespijker Sep 5, 2023
e558b11
Minor fixes
jellespijker Sep 5, 2023
05cf1c9
Merge branch 'CURA-10475_engineplugin' into CURA-10951_gh_build_curap…
jellespijker Sep 5, 2023
c29fcd7
Skip the AppImage test
jellespijker Sep 5, 2023
7eedcac
Add includes for apt packages
jellespijker Sep 5, 2023
95530b5
Merge pull request #16637 from Ultimaker/CURA-7951
rburema Sep 5, 2023
2bc3079
Only exclude Cura and CuraEngine
jellespijker Sep 6, 2023
71dc8e2
Allow objects to be placed near border
casperlamboo Sep 1, 2023
40cc6c7
Merge pull request #15954 from GregValiant/LimitXYAccel
rburema Sep 6, 2023
c7356cc
Pass 'all' exceptions.
rburema Sep 6, 2023
5765f39
Add clarifying comments: Why .sh 'on' Windows?
rburema Sep 7, 2023
c716ff8
Merge branch 'main' into CURA-9494_nightly
rburema Sep 7, 2023
13af77b
Nightlies workflow: Enable skipping OS's
rburema Sep 7, 2023
a35ce3d
Use single quotes or 'if' doesn't work.
rburema Sep 7, 2023
566fdfc
Whitespace can be important.
rburema Sep 7, 2023
e9fe6b9
Partial revert of unneeded code.
rburema Sep 7, 2023
e1f2424
Should run nightly part even if some OS is skipped.
rburema Sep 7, 2023
13962a5
Make sure there is at least one run-info.
rburema Sep 7, 2023
4dbae3d
Merge pull request #16523 from Ultimaker/CURA-9494_nightly
rburema Sep 7, 2023
bb57220
Fix scheduled build.
rburema Sep 8, 2023
e3f8c8d
Put scheduled build back to early morning.
rburema Sep 8, 2023
fbd5569
Merge remote-tracking branch 'origin/main' into CURA-10951_gh_build_c…
rburema Sep 8, 2023
2de0a97
Require packages from main branches instead of from CURA-10915.
rburema Sep 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/conan-package-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
sudo apt upgrade
sudo apt install build-essential checkinstall libegl-dev zlib1g-dev libssl-dev ninja-build autoconf libx11-dev libx11-xcb-dev libfontenc-dev libice-dev libsm-dev libxau-dev libxaw7-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev libxxf86vm-dev xtrans-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev xkb-data libxcb-dri3-dev uuid-dev libxcb-util-dev libxkbcommon-x11-dev pkg-config flex bison -y

- name: Install GCC-132 on ubuntu
- name: Install GCC-13 on ubuntu
if: ${{ startsWith(inputs.runs_on, 'ubuntu') }}
run: |
sudo apt install g++-13 gcc-13 -y
Expand Down
220 changes: 208 additions & 12 deletions .github/workflows/installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,28 @@ on:
default: false
required: true
type: boolean
nightly:
description: 'Upload to nightly release'
default: false
required: true
type: boolean
os_list:
description: 'List of OS(-variant)s to build for'
default: "windows, linux-modern, macos-x64, macos-arm64"
required: true
type: string
schedule:
# Daily at 5:20 CET
- cron: '20 4 * * *'

env:
CURA_CONAN_VERSION: ${{ inputs.cura_conan_version }}
ENTERPRISE: ${{ inputs.enterprise }}
STAGING: ${{ inputs.staging }}

jobs:
windows-installer:
if: ${{ contains(inputs.os_list, 'windows') || github.event_name == 'schedule' }}
uses: ./.github/workflows/windows.yml
with:
cura_conan_version: ${{ inputs.cura_conan_version }}
Expand All @@ -38,6 +57,7 @@ jobs:
secrets: inherit

linux-modern-installer:
if: ${{ contains(inputs.os_list, 'linux-modern') || github.event_name == 'schedule' }}
uses: ./.github/workflows/linux.yml
with:
cura_conan_version: ${{ inputs.cura_conan_version }}
Expand All @@ -48,18 +68,8 @@ jobs:
operating_system: ubuntu-22.04
secrets: inherit

linux-legacy-installer:
uses: ./.github/workflows/linux.yml
with:
cura_conan_version: ${{ inputs.cura_conan_version }}
conan_args: ${{ inputs.conan_args }}
enterprise: ${{ inputs.enterprise }}
staging: ${{ inputs.staging }}
architecture: X64
operating_system: ubuntu-20.04
secrets: inherit

macos-installer:
if: ${{ contains(inputs.os_list, 'macos-x64') }}
uses: ./.github/workflows/macos.yml
with:
cura_conan_version: ${{ inputs.cura_conan_version }}
Expand All @@ -71,6 +81,7 @@ jobs:
secrets: inherit

macos-arm-installer:
if: ${{ contains(inputs.os_list, 'macos-arm64') }}
uses: ./.github/workflows/macos.yml
with:
cura_conan_version: ${{ inputs.cura_conan_version }}
Expand All @@ -79,4 +90,189 @@ jobs:
staging: ${{ inputs.staging }}
architecture: ARM64
operating_system: self-hosted
secrets: inherit
secrets: inherit

# Run and update nightly release when the nightly input is set to true or if the schedule is triggered
update-nightly-release:
if: ${{ always() && (! cancelled()) && contains(needs.*.result, 'success') && (! contains(needs.*.result, 'failure')) && (inputs.nightly || github.event_name == 'schedule') }}
runs-on: ubuntu-latest
needs: [ windows-installer, linux-modern-installer, macos-installer, macos-arm-installer ]
steps:
- name: Checkout
uses: actions/checkout@v3

# It's not necessary to download all three, but it does make sure we have at least one if an OS is skipped.

- name: Download the run info
if: ${{ contains(inputs.os_list, 'macos-x64') || contains(inputs.os_list, 'macos-arm64') }}
uses: actions/download-artifact@v2
with:
name: macos-run-info

- name: Download the run info II
if: ${{ contains(inputs.os_list, 'linux-modern') || github.event_name == 'schedule' }}
uses: actions/download-artifact@v2
with:
name: linux-run-info

- name: Download the run info III
if: ${{ contains(inputs.os_list, 'windows') || github.event_name == 'schedule' }}
uses: actions/download-artifact@v2
with:
name: windows-run-info

- name: Set the run info as environment variables
run: |
. run_info.sh

- name: Output the name file name and extension
id: filename
shell: python
run: |
import os
import datetime
enterprise = "-Enterprise" if "${{ inputs.enterprise }}" == "true" else ""
os_list = [x.strip() for x in "${{ inputs.os_list }}".split(",")]
scheduled = "${{ github.event_name == 'schedule' }}" == "true"
if 'linux-modern' in os_list or scheduled:
linux_modern = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-linux-modern-X64"
if 'macos-x64' in os_list:
mac_x64_dmg = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-X64"
mac_x64_pkg = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-X64"
if 'macos-arm64' in os_list:
mac_arm_dmg = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-ARM64"
mac_arm_pkg = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-ARM64"
if 'windows' in os_list or scheduled:
win_msi = installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-win64-X64"
win_exe = installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-win64-X64"
nightly_name = "UltiMaker-Cura-" + os.getenv('CURA_VERSION_FULL').split("+")[0]
nightly_creation_time = str(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
output_env = os.environ["GITHUB_OUTPUT"]
content = ""
if os.path.exists(output_env):
with open(output_env, "r") as f:
content = f.read()
with open(output_env, "w") as f:
f.write(content)
if 'linux-modern' in os_list or scheduled:
f.writelines(f"LINUX_MODERN={linux_modern}\n")
if 'macos-x64' in os_list:
f.writelines(f"MAC_X64_DMG={mac_x64_dmg}\n")
f.writelines(f"MAC_X64_PKG={mac_x64_pkg}\n")
if 'macos-arm64' in os_list:
f.writelines(f"MAC_ARM_DMG={mac_arm_dmg}\n")
f.writelines(f"MAC_ARM_PKG={mac_arm_pkg}\n")
if 'windows' in os_list or scheduled:
f.writelines(f"WIN_MSI={win_msi}\n")
f.writelines(f"WIN_EXE={win_exe}\n")
f.writelines(f"NIGHTLY_NAME={nightly_name}\n")
f.writelines(f"NIGHTLY_TIME={nightly_creation_time}\n")

- name: Download linux modern installer jobs artifacts
if: ${{ contains(inputs.os_list, 'linux-modern') || github.event_name == 'schedule' }}
uses: actions/download-artifact@v2
with:
name: ${{ steps.filename.outputs.LINUX_MODERN }}-AppImage
path: installers

- name: Download mac x64 dmg installer jobs artifacts
if: ${{ contains(inputs.os_list, 'macos-x64') }}
uses: actions/download-artifact@v2
with:
name: ${{ steps.filename.outputs.MAC_X64_DMG }}-dmg
path: installers

- name: Download mac x64 pkg installer jobs artifacts
if: ${{ contains(inputs.os_list, 'macos-x64') }}
uses: actions/download-artifact@v2
with:
name: ${{ steps.filename.outputs.MAC_X64_PKG }}-pkg
path: installers

- name: Download mac arm dmg installer jobs artifacts
if: ${{ contains(inputs.os_list, 'macos-arm64') }}
uses: actions/download-artifact@v2
with:
name: ${{ steps.filename.outputs.MAC_ARM_DMG }}-dmg
path: installers

- name: Download mac arm pkg installer jobs artifacts
if: ${{ contains(inputs.os_list, 'macos-arm64') }}
uses: actions/download-artifact@v2
with:
name: ${{ steps.filename.outputs.MAC_ARM_PKG }}-pkg
path: installers

- name: Download win msi installer jobs artifacts
if: ${{ contains(inputs.os_list, 'windows') || github.event_name == 'schedule' }}
uses: actions/download-artifact@v2
with:
name: ${{ steps.filename.outputs.WIN_MSI }}-msi
path: installers

- name: Download win exe installer jobs artifacts
if: ${{ contains(inputs.os_list, 'windows') || github.event_name == 'schedule' }}
uses: actions/download-artifact@v2
with:
name: ${{ steps.filename.outputs.WIN_EXE }}-exe
path: installers

- name: Rename Linux (modern) installer to nightlies
if: ${{ contains(inputs.os_list, 'linux-modern') || github.event_name == 'schedule' }}
run: |
mv installers/${{ steps.filename.outputs.LINUX_MODERN }}.AppImage installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-linux-modern-X64.AppImage

- name: Rename MacOS (X64) installers to nightlies
if: ${{ contains(inputs.os_list, 'macos-x64') }}
run: |
mv installers/${{ steps.filename.outputs.MAC_X64_DMG }}.dmg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-X64.dmg
mv installers/${{ steps.filename.outputs.MAC_X64_PKG }}.pkg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-X64.pkg

- name: Rename MacOS (ARM-64) installers to nightlies
if: ${{ contains(inputs.os_list, 'macos-arm64') }}
run: |
mv installers/${{ steps.filename.outputs.MAC_ARM_DMG }}.dmg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.dmg
mv installers/${{ steps.filename.outputs.MAC_ARM_PKG }}.pkg installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.pkg

- name: Rename Windows installers to nightlies
if: ${{ contains(inputs.os_list, 'windows') || github.event_name == 'schedule' }}
run: |
mv installers/${{ steps.filename.outputs.WIN_MSI }}.msi installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-win64-X64.msi
mv installers/${{ steps.filename.outputs.WIN_EXE }}.exe installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-win64-X64.exe

- name: Update nightly release for Linux (modern)
if: ${{ contains(inputs.os_list, 'linux-modern') || github.event_name == 'schedule' }}
run: |
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-linux-modern-X64.AppImage --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update nightly release for MacOS (X64)
if: ${{ contains(inputs.os_list, 'macos-x64') }}
run: |
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-X64.dmg --clobber
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-X64.pkg --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update nightly release for MacOS (ARM-64)
if: ${{ contains(inputs.os_list, 'macos-arm64') }}
run: |
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.dmg --clobber
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-macos-ARM64.pkg --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update nightly release for Windows
if: ${{ contains(inputs.os_list, 'windows') || github.event_name == 'schedule' }}
run: |
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-win64-X64.msi --clobber
gh release upload nightly installers/${{ steps.filename.outputs.NIGHTLY_NAME }}-win64-X64.exe --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update nightly release description (with date)
run: |
gh release edit nightly --title "${{ steps.filename.outputs.NIGHTLY_NAME }}" --notes "Nightly release created on: ${{ steps.filename.outputs.NIGHTLY_TIME }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33 changes: 27 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,20 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt update
sudo apt upgrade
sudo apt install build-essential checkinstall libegl-dev zlib1g-dev libssl-dev ninja-build autoconf libx11-dev libx11-xcb-dev libfontenc-dev libice-dev libsm-dev libxau-dev libxaw7-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev libxxf86vm-dev xtrans-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev xkb-data libxcb-dri3-dev uuid-dev libxcb-util-dev libxkbcommon-x11-dev pkg-config -y
sudo apt install build-essential checkinstall libegl-dev zlib1g-dev libssl-dev ninja-build autoconf libx11-dev libx11-xcb-dev libfontenc-dev libice-dev libsm-dev libxau-dev libxaw7-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev libxxf86vm-dev xtrans-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev xkb-data libxcb-dri3-dev uuid-dev libxcb-util-dev libxkbcommon-x11-dev pkg-config binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf squashfs-tools strace util-linux zsync -y

# Get the AppImage tool
wget --no-check-certificate --quiet https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O $GITHUB_WORKSPACE/appimagetool
chmod +x $GITHUB_WORKSPACE/appimagetool
echo "APPIMAGETOOL_LOCATION=$GITHUB_WORKSPACE/appimagetool" >> $GITHUB_ENV

# Get the AppImage builder
wget --no-check-certificate --quiet -O $GITHUB_WORKSPACE/appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
chmod +x appimage-builder-x86_64.AppImage
echo "APPIMAGEBUILDER_LOCATION=$GITHUB_WORKSPACE/appimage-builder-x86_64.AppImage" >> $GITHUB_ENV

# Make sure these tools can be found on the path
echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH

- name: Install GCC-13
run: |
Expand Down Expand Up @@ -179,10 +189,7 @@ jobs:
run: |
import os
enterprise = "-Enterprise" if "${{ inputs.enterprise }}" == "true" else ""
if "${{ inputs.operating_system }}" == "ubuntu-22.04":
installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-linux-modern-${{ inputs.architecture }}"
else:
installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-linux-${{ inputs.architecture }}"
installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-linux-${{ inputs.architecture }}"
output_env = os.environ["GITHUB_OUTPUT"]
content = ""
if os.path.exists(output_env):
Expand Down Expand Up @@ -238,7 +245,7 @@ jobs:

- name: Create the Linux AppImage (Bash)
run: |
python ../cura_inst/packaging/AppImage/create_appimage.py ./UltiMaker-Cura $CURA_VERSION_FULL "${{ steps.filename.outputs.INSTALLER_FILENAME }}.AppImage"
python ../cura_inst/packaging/AppImage-builder/create_appimage.py ./UltiMaker-Cura $CURA_VERSION_FULL "${{ steps.filename.outputs.INSTALLER_FILENAME }}.AppImage"
chmod +x "${{ steps.filename.outputs.INSTALLER_FILENAME }}.AppImage"
working-directory: dist

Expand All @@ -250,6 +257,20 @@ 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

notify-export:
if: ${{ always() }}
needs: [ cura-installer-create ]
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,21 @@ jobs:
dist/${{ steps.filename.outputs.INSTALLER_FILENAME }}.pkg
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: macos-run-info
path: |
run_info.sh
retention-days: 5


notify-export:
if: ${{ always() }}
Expand Down
Loading
Loading