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) (defun main (args)
(declare (ignorable args)) (declare (ignorable args))
(format t "::group::Custom Roswell Script New~%") (format t "::group::Custom Roswell Script New 2~%")
${{ inputs.custom-code }} (let ((custom-code "${{ inputs.custom-code }}"))
(if (string= custom-code "")
(format t "No custom code~%")
(uiop:eval-input custom-code))
(format t "::endgroup::~%")) (format t "::endgroup::~%"))
# - name: Test # - name: Test

View file

@ -64,12 +64,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: 40ants/cl-info/.github/actions/setup@custom-action - uses: 40ants/cl-info/.github/actions/setup@custom-action
with: # with:
custom-code: | # custom-code: |
(format t "Lisp: ~A ~A~%ASDF: ~A~%" # (format t "Lisp: ~A ~A~%ASDF: ~A~%"
(lisp-implementation-version) # (lisp-implementation-version)
(lisp-implementation-type) # (lisp-implementation-type)
(asdf:asdf-version)) # (asdf:asdf-version))
# - name: Start SSH session # - name: Start SSH session
# uses: luchihoratiu/debug-via-ssh@main # uses: luchihoratiu/debug-via-ssh@main