Skip to content

Commit 56cab1a

Browse files
ci: testing package name outputs
1 parent 82e603d commit 56cab1a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/uipath-ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
5656

5757
pack-with-multi-file-input:
5858
runs-on: windows-latest
59+
outputs:
60+
packageNames: ${{ steps.pack.outputs.packageNames }}
5961
steps:
6062
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
6163
- uses: actions/checkout@v6
@@ -90,6 +92,15 @@ jobs:
9092
if-no-files-found: error
9193
retention-days: 90
9294

95+
matrix-example-job:
96+
needs: pack-with-multi-file-input
97+
runs-on: ubuntu-latest
98+
strategy:
99+
matrix:
100+
packageName: ${{ fromJson(needs.pack-with-multi-file-input.outputs.packageNames) }}
101+
steps:
102+
- run: echo "This job can now use the package name ${{ matrix.packageName }} to perform further steps, such as deployment or testing."
103+
93104
pack-with-ubuntu:
94105
runs-on: ubuntu-latest
95106
steps:

0 commit comments

Comments
 (0)