From 95453f8fd811bceb039fcbb5d05be70d2d667311 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 17 Aug 2025 08:44:56 +0000 Subject: [PATCH] fix: use yes/no instead of true/false for using a binary built from source (#948) and add information from steps and inputs context for future debug. --- For debugging a temporary commit [that trims the tests is used](https://code.forgejo.org/forgejo/end-to-end/pulls/948/commits/5e6bd041158847de99908464d629cbd85d14b951) ## No build from source - https://code.forgejo.org/forgejo/end-to-end/actions/runs/3905 ![image](/attachments/66ef5aa0-25a8-4624-9d92-dd18dce0a427) ## Build from source A temporary commit [is used to build from sources](https://code.forgejo.org/forgejo/end-to-end/pulls/948/commits/ffa5170ba21c070208c7934d727327efc0ec248f). - https://code.forgejo.org/forgejo/end-to-end/actions/runs/3904 ![image](/attachments/e335ee9f-fa07-43e0-aaf4-dfa745aa2a6a) Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/948 Co-authored-by: Earl Warren Co-committed-by: Earl Warren --- .forgejo/prepare-end-to-end/action.yml | 8 +++++++- .forgejo/workflows/end-to-end.yml | 13 ++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.forgejo/prepare-end-to-end/action.yml b/.forgejo/prepare-end-to-end/action.yml index 723e8827..fd949a20 100644 --- a/.forgejo/prepare-end-to-end/action.yml +++ b/.forgejo/prepare-end-to-end/action.yml @@ -19,8 +19,14 @@ runs: with: install-only: true - run: forgejo-binary.sh ensure_user forgejo + - name: inputs context dump for debug + run: | + set -x + cat <> $FORGEJO_OUTPUT + echo "built=no" >> $FORGEJO_OUTPUT exit 0 fi @@ -62,10 +62,17 @@ jobs: mv $forgejo /tmp/forgejo-upload/forgejo-$version done - echo "built=true" >> $FORGEJO_OUTPUT + echo "built=yes" >> $FORGEJO_OUTPUT + + - name: steps context dump for debug + run: | + set -x + cat <