From e2b4386049b3f7de5f327c7efe0788e8a539b389 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 2 Feb 2021 19:45:39 +0300 Subject: [PATCH] Use default. --- .github/actions/setup/action.yml | 7 +++++-- .github/workflows/install.yml | 12 ++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 6e92368..5452f86 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -88,8 +88,11 @@ runs: (defun main (args) (declare (ignorable args)) - (format t "::group::Custom Roswell Script New~%") - ${{ inputs.custom-code }} + (format t "::group::Custom Roswell Script New 2~%") + (let ((custom-code "${{ inputs.custom-code }}")) + (if (string= custom-code "") + (format t "No custom code~%") + (uiop:eval-input custom-code)) (format t "::endgroup::~%")) # - name: Test diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 153200e..5ce4604 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -64,12 +64,12 @@ jobs: steps: - uses: actions/checkout@v1 - uses: 40ants/cl-info/.github/actions/setup@custom-action - with: - custom-code: | - (format t "Lisp: ~A ~A~%ASDF: ~A~%" - (lisp-implementation-version) - (lisp-implementation-type) - (asdf:asdf-version)) + # with: + # custom-code: | + # (format t "Lisp: ~A ~A~%ASDF: ~A~%" + # (lisp-implementation-version) + # (lisp-implementation-type) + # (asdf:asdf-version)) # - name: Start SSH session # uses: luchihoratiu/debug-via-ssh@main