File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ runs:
237
237
rm --force "$path"
238
238
fi
239
239
240
- - if : ${{ inputs.command == 'plan' && inputs.upload-plan == 'true' && github.server_url == 'https://github.com' }}
240
+ - if : ${{ inputs.command == 'plan' && inputs.upload-plan == 'true' && ( github.server_url == 'https://github.com' || contains(github.server_url, '.ghe.com')) }}
241
241
id : upload
242
242
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
243
243
with :
@@ -246,7 +246,7 @@ runs:
246
246
retention-days : ${{ inputs.retention-days }}
247
247
overwrite : true
248
248
249
- - if : ${{ inputs.command == 'plan' && inputs.upload-plan == 'true' && github.server_url != 'https://github.com' }}
249
+ - if : ${{ inputs.command == 'plan' && inputs.upload-plan == 'true' && !( github.server_url == 'https://github.com' || contains(github.server_url, '.ghe.com')) }}
250
250
id : upload-v3
251
251
uses : actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3.2.1-node20
252
252
with :
You can’t perform that action at this time.
0 commit comments