We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15df291 commit c8042acCopy full SHA for c8042ac
1 file changed
actions/codecov/action.yml
@@ -48,8 +48,25 @@ runs:
48
- name: Install missing Codecov dependencies
49
if: steps.check-codecov-deps.outputs.missing-deps
50
uses: pkgxdev/setup@f211ee4db3110b42e5a156282372527e7c1ed723 # v4.0.0
51
- with:
52
- +: ${{ steps.check-codecov-deps.outputs.missing-deps }}
+
+ - name: Install Codecov dependencies via pkgx
53
+ if: steps.check-codecov-deps.outputs.missing-deps
54
+ shell: bash
55
+ env:
56
+ MISSING_DEPS: ${{ steps.check-codecov-deps.outputs.missing-deps }}
57
+ run: |
58
+ set -euo pipefail
59
60
+ if [[ -z "${MISSING_DEPS}" ]]; then
61
+ exit 0
62
+ fi
63
64
+ args=()
65
+ for dep in ${MISSING_DEPS}; do
66
+ args+=("+${dep}")
67
+ done
68
69
+ pkgx "${args[@]}"
70
71
- name: Fix unexpanded environment variables
72
0 commit comments