#gitops (2023-02)

Discuss continuous delivery of infrastructure

Archive: https://archive.sweetops.com/gitops/

2023-02-10

maarten avatar
maarten

Hi Everyone, GH Actions question..

Say I have two jobs with both the same matrix values, both multi-dimensional with the same matrix keys. Now job 1 has output.

How can I refer to the output of job1 from job2, using the same matrix.values ?

Like

needs.job1[matrix.value][matrix.value2].output

maarten avatar
maarten

Figured it out by passing Artifacts between jobs.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
cloudposse/github-action-matrix-outputs-read

Workaround implementation - Read matrix jobs outputs

2023-02-15

    keyboard_arrow_up