@@ -226,7 +226,7 @@ jobs:
226
226
227
227
-name :Create and upload archive
228
228
id :create-archive
229
- if :${{ steps.determine-inputs.outputs.cleanup}}
229
+ if :steps.determine-inputs.outputs.cleanup== 'true'
230
230
env :
231
231
BUCKET_PREFIX :" gs://coder-traiage-outputs/traiage"
232
232
CODER_USERNAME :${{ steps.get-coder-username.outputs.coder_username }}
@@ -240,7 +240,7 @@ jobs:
240
240
241
241
-name :Generate a summary of the changes and post a comment on GitHub.
242
242
id :generate-summary
243
- if :${{ steps.determine-inputs.outputs.cleanup}}
243
+ if :steps.determine-inputs.outputs.cleanup== 'true'
244
244
env :
245
245
ARCHIVE_URL :${{ steps.create-archive.outputs.archive_url }}
246
246
BUCKET_PREFIX :" gs://coder-traiage-outputs/traiage"
@@ -279,7 +279,7 @@ jobs:
279
279
cat "${SUMMARY_FILE}" >> "${GITHUB_STEP_SUMMARY}"
280
280
281
281
-name :Cleanup task
282
- if :steps.determine-inputs.outputs.cleanup && steps.create-task.outputs.TASK_NAME != '' && steps.create-archive.outputs.archive_url != ''
282
+ if :steps.determine-inputs.outputs.cleanup== 'true' && steps.create-task.outputs.TASK_NAME != '' && steps.create-archive.outputs.archive_url != ''
283
283
run :|
284
284
echo "Cleaning up task: $TASK_NAME"
285
285
./scripts/traiage.sh delete ||true