mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 04:25:56 +08:00
remove private packages before uploading
Contributes to CURA-10561
This commit is contained in:
parent
edb38aa5f3
commit
d8b35aa09f
13
.github/workflows/linux.yml
vendored
13
.github/workflows/linux.yml
vendored
@ -106,16 +106,8 @@ jobs:
|
|||||||
$HOME/.conan/conan_download_cache
|
$HOME/.conan/conan_download_cache
|
||||||
key: conan-${{ runner.os }}-${{ runner.arch }}-installer-cache
|
key: conan-${{ runner.os }}-${{ runner.arch }}-installer-cache
|
||||||
|
|
||||||
- name: Hack needed specifically for ubuntu-22.04 from mid-Feb 2023 onwards
|
|
||||||
if: ${{ startsWith(inputs.operating_system, 'ubuntu-22.04') }}
|
|
||||||
run: sudo apt remove libodbc2 libodbcinst2 unixodbc-common -y
|
|
||||||
|
|
||||||
# NOTE: Due to what are probably github issues, we have to remove the cache and reconfigure before the rest.
|
|
||||||
# This is maybe because grub caches the disk it uses last time, which is recreated each time.
|
|
||||||
- name: Install Linux system requirements
|
- name: Install Linux system requirements
|
||||||
run: |
|
run: |
|
||||||
sudo rm /var/cache/debconf/config.dat
|
|
||||||
sudo dpkg --configure -a
|
|
||||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
@ -157,6 +149,11 @@ jobs:
|
|||||||
- name: Create the Packages (Bash)
|
- name: Create the Packages (Bash)
|
||||||
run: conan install $CURA_CONAN_VERSION ${{ inputs.conan_args }} --build=missing --update -if cura_inst -g VirtualPythonEnv -o cura:enterprise=$ENTERPRISE -o cura:staging=$STAGING --json "cura_inst/conan_install_info.json"
|
run: conan install $CURA_CONAN_VERSION ${{ inputs.conan_args }} --build=missing --update -if cura_inst -g VirtualPythonEnv -o cura:enterprise=$ENTERPRISE -o cura:staging=$STAGING --json "cura_inst/conan_install_info.json"
|
||||||
|
|
||||||
|
- name: Remove internal packages before uploading
|
||||||
|
run: |
|
||||||
|
conan remove "*@internal/*" -f || true
|
||||||
|
conan remove "cura_private_data*" -f || true
|
||||||
|
|
||||||
- name: Upload the Package(s)
|
- name: Upload the Package(s)
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
|
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
@ -158,8 +158,12 @@ jobs:
|
|||||||
- name: Create the Packages (Bash)
|
- name: Create the Packages (Bash)
|
||||||
run: conan install $CURA_CONAN_VERSION ${{ inputs.conan_args }} --build=missing --update -if cura_inst -g VirtualPythonEnv -o cura:enterprise=$ENTERPRISE -o cura:staging=$STAGING --json "cura_inst/conan_install_info.json"
|
run: conan install $CURA_CONAN_VERSION ${{ inputs.conan_args }} --build=missing --update -if cura_inst -g VirtualPythonEnv -o cura:enterprise=$ENTERPRISE -o cura:staging=$STAGING --json "cura_inst/conan_install_info.json"
|
||||||
|
|
||||||
|
- name: Remove internal packages before uploading
|
||||||
|
run: |
|
||||||
|
conan remove "*@internal/*" -f || true
|
||||||
|
conan remove "cura_private_data*" -f || true
|
||||||
|
|
||||||
- name: Upload the Package(s)
|
- name: Upload the Package(s)
|
||||||
if: ${{ inputs.operating_system != 'self-hosted' }}
|
|
||||||
run: |
|
run: |
|
||||||
conan upload "*" -r cura --all -c
|
conan upload "*" -r cura --all -c
|
||||||
|
|
||||||
|
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
@ -124,6 +124,11 @@ jobs:
|
|||||||
- name: Create the Packages (Powershell)
|
- name: Create the Packages (Powershell)
|
||||||
run: conan install $Env:CURA_CONAN_VERSION ${{ inputs.conan_args }} --build=missing --update -if cura_inst -g VirtualPythonEnv -o cura:enterprise=$Env:ENTERPRISE -o cura:staging=$Env:STAGING --json "cura_inst/conan_install_info.json"
|
run: conan install $Env:CURA_CONAN_VERSION ${{ inputs.conan_args }} --build=missing --update -if cura_inst -g VirtualPythonEnv -o cura:enterprise=$Env:ENTERPRISE -o cura:staging=$Env:STAGING --json "cura_inst/conan_install_info.json"
|
||||||
|
|
||||||
|
- name: Remove internal packages before uploading
|
||||||
|
run: |
|
||||||
|
conan remove "*@internal/*" -f || true
|
||||||
|
conan remove "cura_private_data*" -f || true
|
||||||
|
|
||||||
- name: Upload the Package(s)
|
- name: Upload the Package(s)
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user