trying to specify only a part in the script.

This commit is contained in:
Alexander Artemenko 2021-02-02 19:33:25 +03:00
parent fa5b1aa93e
commit 2f7b12f212
2 changed files with 15 additions and 14 deletions

View file

@ -80,7 +80,17 @@ runs:
- name: Run a custom Roswell Script - name: Run a custom Roswell Script
shell: ros -Q -- {0} "$@" shell: ros -Q -- {0} "$@"
run: ${{ inputs.custom-code }} run: |
(progn
(ros:ensure-asdf)
#+quicklisp
(ql:quickload '() :silent t))
(defun main (args)
(declare (ignorable args))
(format t "::group::Custom Roswell Script New~%")
${{ inputs.custom-code }}
(format t "::endgroup::~%"))
# - name: Test # - name: Test
# shell: bash # shell: bash

View file

@ -66,19 +66,10 @@ jobs:
- uses: 40ants/cl-info/.github/actions/setup@custom-action - uses: 40ants/cl-info/.github/actions/setup@custom-action
with: with:
custom-code: | custom-code: |
(progn
(ros:ensure-asdf)
#+quicklisp
(ql:quickload '() :silent t))
(defun main (args)
(declare (ignore args))
(format t "::group::Custom Roswell Script~%")
(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))
(format t "::endgroup::~%"))
# - name: Start SSH session # - name: Start SSH session
# uses: luchihoratiu/debug-via-ssh@main # uses: luchihoratiu/debug-via-ssh@main