File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 2222 contents : read
2323
2424 steps :
25+ - name : Checkout the action from the current branch
26+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27+ with :
28+ sparse-checkout : action.yml
29+ sparse-checkout-cone-mode : false
30+ path : scancode-action
31+ persist-credentials : false
32+
2533 - name : Checkout repository
2634 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2735 with :
@@ -32,19 +40,19 @@ jobs:
3240 uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
3341 with :
3442 name : ${{ inputs['artifact-name'] }}
35- path : ../ scancode-inputs/
43+ path : scancode-inputs/
3644
3745 - name : Prepare D2D inputs
3846 shell : bash
3947 run : |
40- for file in ../ scancode-inputs/*; do
48+ for file in scancode-inputs/*; do
4149 base=$(basename "$file")
42- mv "$file" "../ scancode-inputs/to_$base"
50+ mv "$file" "scancode-inputs/to_$base"
4351 done
44- git archive --format=tar.gz -o ../ scancode-inputs/from.tar.gz HEAD
52+ git archive --format=tar.gz -o scancode-inputs/from.tar.gz HEAD
4553
4654 - name : Run D2D pipeline
47- uses : aboutcode-org /scancode-action@main
55+ uses : . /scancode-action
4856 with :
4957 pipelines : ${{ inputs.steps && format('map_deploy_to_develop:%s', inputs.steps) || 'map_deploy_to_develop' }}
50- inputs-path : ../ scancode-inputs
58+ inputs-path : scancode-inputs
You can’t perform that action at this time.
0 commit comments