Use default.

This commit is contained in:
Alexander Artemenko 2021-02-02 19:45:39 +03:00
parent 2f7b12f212
commit e2b4386049
2 changed files with 11 additions and 8 deletions

View file

@ -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

View file

@ -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