@@ -24,16 +24,21 @@ jobs:
2424 steps :
2525 - name : Checkout repository
2626 uses : actions/checkout@v4
27+ with :
28+ persist-credentials : false
2729
2830 - name : Set up Node.js
2931 uses : actions/setup-node@v4
3032 with :
3133 node-version : ' 18'
3234
3335 - name : Print inputs for debugging (Sharding)
36+ env :
37+ RECORD_KEY : ${{ env.CURRENTS_RECORD_KEY }}
38+ SHARD : ${{ matrix.shard }}
3439 run : |
35- echo "Key: ${{ env.CURRENTS_RECORD_KEY }} "
36- echo "Matrix Index: ${{ matrix.shard }} "
40+ echo "Key: $RECORD_KEY "
41+ echo "Matrix Index: $SHARD "
3742 - name : Run My Action (Sharding)
3843 id : sharding_action
3944 uses : ./
4449 matrix-total : 2
4550
4651 - name : Verify Action Output (Sharding)
52+ env :
53+ EXTRA_FLAGS : ${{ steps.sharding_action.outputs.extra-pw-flags }}
4754 run : |
48- echo "Extra Playwright Flags: ${{ steps.sharding_action.outputs.extra-pw-flags }} "
55+ echo "Extra Playwright Flags: $EXTRA_FLAGS "
4956
5057 test-action-or8n :
5158 strategy :
@@ -61,16 +68,21 @@ jobs:
6168 steps :
6269 - name : Checkout repository
6370 uses : actions/checkout@v4
71+ with :
72+ persist-credentials : false
6473
6574 - name : Set up Node.js
6675 uses : actions/setup-node@v4
6776 with :
6877 node-version : ' 18'
6978
7079 - name : Print inputs for debugging (Or8n)
80+ env :
81+ API_KEY : ${{ env.CURRENTS_API_KEY }}
82+ PROJECT_ID : ${{ env.CURRENTS_PROJECT_ID }}
7183 run : |
72- echo "API Key: ${{ env.CURRENTS_API_KEY }} "
73- echo "Project ID: ${{ env.CURRENTS_PROJECT_ID }} "
84+ echo "API Key: $API_KEY "
85+ echo "Project ID: $PROJECT_ID "
7486
7587 - name : Run My Action (Or8n)
7688 id : or8n_action
8294 pw-output-dir : basic/test-results
8395
8496 - name : Verify Action Output (Or8n)
97+ env :
98+ EXTRA_FLAGS : ${{ steps.or8n_action.outputs.extra-pw-flags }}
8599 run : |
86- echo "Extra Playwright Flags: ${{ steps.or8n_action.outputs.extra-pw-flags }} "
100+ echo "Extra Playwright Flags: $EXTRA_FLAGS "
0 commit comments