Pass artifacts between pipelines

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description

I follow the best practices to speed up iOS build times with carthage

This is my .gitlab-ci.yml

stages:
  - build

carthage:
  stage: build
  script:
    - carthage update --no-use-binaries --platform ios --toolchain com.apple.dt.toolchain.Swift_2_3
  artifacts:
    name: CarthageBinaries
    paths:
      - Carthage/Build/iOS/MBProgressHUD.framework
      - Carthage/Build/iOS/SwiftyBeaver.framework
  when: manual

build:
  stage: build
  only:
    - master
  script:
    - fastlane build

I want to manually trigger carthage job and generated CarthageBinaries artifacts

I want to reuse the CarthageBinaries artifacts in my build job after every push

Running carthage update EVERY time is unnecessary

Proposal

the dependencies option can only define builds from stages that are executed before the current one, How to pass latest artifacts of specific job between different pipeline ?

Links / references

Edited by 🤖 GitLab Bot 🤖