Skip to content

Commit 753658f

Browse files
test
1 parent b011956 commit 753658f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/reusable-lightweight.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ jobs:
262262
- review-secrets
263263
- semgrep
264264
- run-unit-tests-3_7
265+
- fossa-scan
266+
- get-called-ref
265267
strategy:
266268
fail-fast: false
267269
matrix:
@@ -273,9 +275,9 @@ jobs:
273275
contents: write
274276
packages: read
275277
steps:
276-
- name: Run build
277-
uses: splunk/addonfactory-workflow-addon-release/.github/actions/build@fix/lightweight-workflow-ADDON-66448
278-
with:
278+
- uses: jenseng/dynamic-uses@v1
279+
# inputs to `dynamic-uses` step
280+
env:
279281
python_version: ${{ matrix.python-version }}
280282
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
281283
SA_GH_USER_EMAIL: ${{ secrets.SA_GH_USER_EMAIL }}
@@ -286,6 +288,10 @@ jobs:
286288
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
287289
ucc_modinput_functional: ${{ needs.test-inventory.outputs.ucc_modinput_functional}}
288290
modinput_functional: ${{ needs.test-inventory.outputs.modinput_functional}}
291+
with:
292+
uses: splunk/addonfactory-workflow-addon-release/.github/actions/build@${{ needs.get-called-ref.outputs.ref }}
293+
# inputs need to provided as a valid JSON string
294+
with: ${{ toJSON(env) }}
289295

290296
virustotal:
291297
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)