File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.github/actions/artifact/download Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ runs:
1919 steps :
2020 - name : Download artifact from github
2121 uses : actions/download-artifact@v4.1.7
22- if : ${{ runner.environment == 'github-hosted' }}
22+ if : ${{ runner.environment == 'github-hosted' || inputs.force-use-github == 'true' }}
2323 with :
2424 name : ${{ inputs.name }}
2525 path : ${{ inputs.path }}
2626 - name : Download artifact from local
27- if : ${{ runner.environment == 'self-hosted' }}
27+ if : ${{ runner.environment == 'self-hosted' && inputs.force-use-github != 'true' }}
2828 uses : lynx-infra/download-artifact@79d9914484f933089c2840552cf439bac85debad # https://github.com/lynx-infra/download-artifact/tree/dev
2929 with :
3030 name : ${{ inputs.name }}
You can’t perform that action at this time.
0 commit comments