0

In one of my Github Actions workflow steps, I retrieve an array with string values. I want to add to each of those strings some suffix.

This step will produce the array:

      - name: Check for affected services
        uses: dkhunt27/action-nx-affected-list@v3
        id: checkForAffected
        with:
            base: refs/remotes/origin/main~1
            head: refs/remotes/origin/main

In this step I will retrieve the array with steps.checkForAffected.outputs.affectedApps and I want to add to each string a suffix:

      - name: Add suffix

How can I achieve that?

Thanks!

Maor agai
  • 221
  • 1
  • 3
  • 11

0 Answers0