File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Clojars Deployment
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*' # Enforce Semantic Versioning
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+
16+ - name : Setup CD Environment
17+ uses : yetanalytics/actions/setup-env@v0.0.4
18+
19+ - name : Extract version
20+ id : version
21+ run : echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT
22+
23+ - name : Build and deploy to Clojars
24+ uses : yetanalytics/actions/deploy-clojars@v0.0.4
25+ with :
26+ artifact-id : ' re-codemirror'
27+ version : ${{ steps.version.outputs.version }}
28+ clojars-username : ${{ secrets.CLOJARS_USERNAME }}
29+ clojars-deploy-token : ${{ secrets.CLOJARS_DEPLOY_TOKEN }}
30+ src-dirs : ' ["src/cljs"]'
Original file line number Diff line number Diff line change 1+ name : Deps
2+
3+ on :
4+ push :
5+ branches :
6+ - ' *'
7+ jobs :
8+ deps :
9+ runs-on : ubuntu-latest
10+ timeout-minutes : 10
11+ steps :
12+ - name : Checkout project
13+ uses : actions/checkout@v3
14+
15+ - name : Setup CI Environment
16+ uses : yetanalytics/action-setup-env@v1
17+
18+ - name : Cache Deps
19+ uses : actions/cache@v3
20+ with :
21+ path : |
22+ ~/.m2
23+ ~/.gitlibs
24+ key : ${{ runner.os }}-deps-${{ hashFiles('deps.edn') }}
25+ restore-keys : |
26+ ${{ runner.os }}-deps-
27+
28+ - name : Submit Dependency Snapshot
29+ uses : advanced-security/maven-dependency-submission-action@v3
Original file line number Diff line number Diff line change 1- pom.xml
21pom.xml.asc
32* .jar
43* .class
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <packaging >jar</packaging >
5+ <groupId >re-codemirror</groupId >
6+ <artifactId >re-codemirror</artifactId >
7+ <version >0.0.1</version >
8+ <name >re-codemirror</name >
9+ <dependencies >
10+ <dependency >
11+ <groupId >org.clojure</groupId >
12+ <artifactId >clojure</artifactId >
13+ <version >1.11.1</version >
14+ </dependency >
15+ <dependency >
16+ <groupId >org.clojure</groupId >
17+ <artifactId >clojurescript</artifactId >
18+ <version >1.10.773</version >
19+ </dependency >
20+ <dependency >
21+ <groupId >reagent</groupId >
22+ <artifactId >reagent</artifactId >
23+ <version >1.1.0</version >
24+ </dependency >
25+ <dependency >
26+ <groupId >cljsjs</groupId >
27+ <artifactId >codemirror</artifactId >
28+ <version >5.44.0-1</version >
29+ </dependency >
30+ </dependencies >
31+ <build >
32+ <sourceDirectory >src/cljs</sourceDirectory >
33+ </build >
34+ <repositories >
35+ <repository >
36+ <id >clojars</id >
37+ <url >https://repo.clojars.org/</url >
38+ </repository >
39+ </repositories >
40+ <licenses >
41+ <license >
42+ <name >Apache-2.0</name >
43+ <url >https://www.apache.org/licenses/LICENSE-2.0.txt</url >
44+ </license >
45+ </licenses >
46+ </project >
You can’t perform that action at this time.
0 commit comments