mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:16:04 +08:00
Clean-up latest before creation and upload
Contributes to CURA-9365
This commit is contained in:
parent
4e55603bde
commit
3c9541a6a9
4
.github/workflows/conan-package-create.yml
vendored
4
.github/workflows/conan-package-create.yml
vendored
@ -92,10 +92,6 @@ jobs:
|
|||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
run: 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 -y
|
run: 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 -y
|
||||||
|
|
||||||
- name: Clean Conan local cache
|
|
||||||
if: ${{ inputs.conan_clean_local_cache }}
|
|
||||||
run: conan remove "*" -f
|
|
||||||
|
|
||||||
- name: Get Conan configuration from branch
|
- name: Get Conan configuration from branch
|
||||||
if: ${{ inputs.conan_config_branch != '' }}
|
if: ${{ inputs.conan_config_branch != '' }}
|
||||||
run: conan config install https://github.com/Ultimaker/conan-config.git -a "-b ${{ inputs.conan_config_branch }}"
|
run: conan config install https://github.com/Ultimaker/conan-config.git -a "-b ${{ inputs.conan_config_branch }}"
|
||||||
|
14
.github/workflows/conan-recipe-export.yml
vendored
14
.github/workflows/conan-recipe-export.yml
vendored
@ -83,16 +83,16 @@ jobs:
|
|||||||
run: conan export-pkg . ${{ inputs.recipe_id_full }}
|
run: conan export-pkg . ${{ inputs.recipe_id_full }}
|
||||||
|
|
||||||
- name: Export the Package
|
- name: Export the Package
|
||||||
if: ${{ inputs.conan_export_binaries != 'true' && github.event_name != 'pull_request' }}
|
if: ${{ inputs.conan_export_binaries != 'true' }}
|
||||||
run: conan export . ${{ inputs.recipe_id_full }}
|
run: conan export . ${{ inputs.recipe_id_full }}
|
||||||
|
|
||||||
- name: Create the latest alias
|
- name: Create the latest alias
|
||||||
if: ${{ inputs.recipe_id_latest != '' && github.event_name != 'pull_request' }}
|
if: ${{ inputs.recipe_id_latest != '' }}
|
||||||
run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
|
run: |
|
||||||
|
conan remove ${{ inputs.recipe_id_latest }} -f
|
||||||
- name: Create the pull request alias
|
conan remove ${{ inputs.recipe_id_latest }} -r cura -f
|
||||||
if: ${{ inputs.recipe_id_pr != '' && github.event_name == 'pull_request' }}
|
conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f
|
||||||
run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
|
conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
|
||||||
|
|
||||||
- name: Upload the Package(s)
|
- name: Upload the Package(s)
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user