From 1056d57fdcc70a1f3836405ad34523a120524aeb Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Fri, 26 May 2023 15:45:23 -0500 Subject: [PATCH] add workflows --- .github/workflows/release.yml | 19 +++++++++++++++++++ .github/workflows/snapshot.yml | 8 ++++++++ .github/workflows/test.yml | 7 +++++++ README.md | 6 +----- 4 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/snapshot.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e2718bd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +name: Release on demand + +on: + workflow_dispatch: + inputs: + releaseVersion: + description: "Version to release" + required: true + snapshotVersion: + description: "Snapshot version after release" + required: true + +jobs: + call-release: + uses: clojure/build.ci/.github/workflows/release.yml@master + with: + releaseVersion: ${{ github.event.inputs.releaseVersion }} + snapshotVersion: ${{ github.event.inputs.snapshotVersion }} + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml new file mode 100644 index 0000000..2472957 --- /dev/null +++ b/.github/workflows/snapshot.yml @@ -0,0 +1,8 @@ +name: Snapshot on demand + +on: [workflow_dispatch] + +jobs: + call-snapshot: + uses: clojure/build.ci/.github/workflows/snapshot.yml@master + secrets: inherit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..1fa127c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,7 @@ +name: Test + +on: [push] + +jobs: + call-test: + uses: clojure/build.ci/.github/workflows/test.yml@master diff --git a/README.md b/README.md index 963c357..efa7697 100644 --- a/README.md +++ b/README.md @@ -342,12 +342,8 @@ only `parse-opts` and `summarize` were available. ## Developer Information * [GitHub project](https://github.com/clojure/tools.cli) - * [Bug Tracker](http://clojure.atlassian.net/browse/TCLI) - -* [Continuous Integration](http://build.clojure.org/job/tools.cli/) - -* [Compatibility Test Matrix](http://build.clojure.org/job/tools.cli-test-matrix/) +* [Continuous Integration](https://github.com/clojure/tools.cli/actions/workflows/test.yml) ## License