diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0164985..7873bc5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -117,18 +117,18 @@ "if": "steps.cache.outputs.cache-hit != 'true'" }, { - "name": "Change dist to Ultralisp", - "run": "echo 'dist ultralisp http://dist.ultralisp.org' > qlfile", + "name": "Change dist to Ultralisp if qlfile does not exist", + "run": "if [[ ! -e qlfile ]]; then echo 'dist ultralisp http://dist.ultralisp.org' > qlfile; fi", "shell": "bash" }, { "name": "Update Qlot", - "run": "qlot update || qlot update", + "run": "qlot update --no-deps", "shell": "bash" }, { "name": "Install SBLint wrapper", - "run": "qlot exec ros install 40ants-linter", + "run": "qlot exec ros install 40ants-asdf-system 40ants-linter", "shell": "bash" }, { diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..954a253 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,39 @@ +{ + "name": "RELEASE", + "on": { + "push": { + "branches": [ + "master" + ] + } + }, + "jobs": { + "autotag": { + "permissions": { + "contents": "write" + }, + "runs-on": "ubuntu-latest", + "env": { + "OS": "ubuntu-latest" + }, + "steps": [ + { + "name": "Checkout Code", + "uses": "actions/checkout@v3" + }, + { + "name": "Create release tag", + "uses": "butlerlogic/action-autotag@8bc1ad456dcdee34e8c6ffbce991cc31793578c2", + "with": { + "root": "ChangeLog.md", + "regex_pattern": "^## (?\\d+\\.\\d+\\.\\d+.*?)( |\\n).*$", + "tag_prefix": "v" + }, + "env": { + "GITHUB_TOKEN": "${{ secrets.GITHUB_TOKEN }}" + } + } + ] + } + } +} \ No newline at end of file diff --git a/action.yml b/action.yml index b5065da..6ce3e06 100644 --- a/action.yml +++ b/action.yml @@ -188,6 +188,29 @@ runs: # the other Lisp files in general, so it's better to tell Quicklisp # to update all its dists. ros -e "(ql:update-all-dists :prompt nil)" + - name: Install Quicklisp patch for package-inferred systems + shell: lispsh {0} + run: | + git clone \ + --no-tags \ + --single-branch \ + --depth=1 \ + https://github.com/40ants/quicklisp-client-fix \ + ~/.quicklisp-client-fix + + mkdir -p ~/.roswell + + cat >> ~/.roswell/init.lisp <