Remove source path from build_macos.py because it is unused.

Refactor filename because it now includes the extension.

The component now has -Component.pkg instead of the installer usincg -Installer.pkg. They must have different names but now the input filename is used to upload the artifacts.

CURA-6867
This commit is contained in:
Joey de l'Arago 2023-01-10 10:11:27 +01:00
parent 43b672834b
commit b96c0dce39
2 changed files with 11 additions and 12 deletions

View file

@ -310,7 +310,7 @@ jobs:
- name: Create the MacOS pkg (Bash)
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
run: python ../cura_inst/packaging/MacOs/build_macos.py ../cura_inst . "${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }}"
run: python ../cura_inst/packaging/MacOs/build_macos.py . "${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }}"
working-directory: dist
- name: Upload the artifacts