| author | Alan Dipert
<alan@dipert.org> 2026-11-10 05:07:38 UTC |
| committer | Alan Dipert
<alan@dipert.org> 2026-11-10 05:07:38 UTC |
| parent | 649278b925f5c87803bedea17597df053aae6962 |
| .forgejo/workflows/check.yml | +17 | -0 |
| README.md | +7 | -1 |
diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index 3a45a22..786089f 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -50,3 +50,20 @@ jobs: - name: Build JAR if: matrix.java == '25' run: clojure -T:build jar + + publish: + needs: check + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + runs-on: debian + timeout-minutes: 5 + steps: + - name: Request publication of tested master + env: + PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} + run: | + curl --fail-with-body --silent --show-error --config - \ + --header 'Content-Type: application/json' \ + --data "{\"ref\":\"master\",\"inputs\":{\"commit\":\"$GITHUB_SHA\",\"source_run\":\"$GITHUB_RUN_ID\"}}" \ + "$GITHUB_SERVER_URL/api/v1/repos/alan/repos-publisher/actions/workflows/publish.yml/dispatches" <<EOF + header = "Authorization: token $PUBLISH_TOKEN" + EOF diff --git a/README.md b/README.md index 46abce3..07f3c80 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,13 @@ For an executable tour of the compiler, read [Mutable Locals in Clojure, the Har ## Use -Requires Clojure 1.12.6 and JDK 17 or later. To use a neighboring checkout, add this dependency to your project's `deps.edn`: +Requires Clojure 1.12.6 and JDK 17 or later. Clone the [public repository](https://tailrecursion.com/repos/r/blacktide.git/): + +```sh +git clone https://tailrecursion.com/repos/git/blacktide.git +``` + +To use that neighboring checkout, add this dependency to your project's `deps.edn`: ```clojure {:deps {com.tailrecursion/blacktide {:local/root "../blacktide"}}}