-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 715 Bytes
/
Copy pathrelease.yml
File metadata and controls
29 lines (25 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
name: Test, build and (possibly) deploy
on:
push:
branches:
- main
tags:
- '*'
jobs:
Release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@10.0
with:
cli: latest
- name: Test, build and (possibly) deploy to clojars
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
run: clojure -T:build release :build/git-version $(printf '"%s"' $(git describe --tags)) :deploy/only-jar-version-type :full-and-snapshot