Skip to content

Merge pull request #90 from yetanalytics/new_clojars_deploy #19

Merge pull request #90 from yetanalytics/new_clojars_deploy

Merge pull request #90 from yetanalytics/new_clojars_deploy #19

Workflow file for this run

name: CD
on:
push:
tags:
- 'v*.*.*' # Enforce Semantic Versioning
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup CD Environment
uses: yetanalytics/actions/setup-env@v0.0.4
- name: Extract version
id: version
run: echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT
- name: Build and deploy to Clojars
uses: yetanalytics/action-deploy-clojars@v1.1.0
with:
artifact-id: 'lrs'
resource-dirs: '["resources"]'
version: ${{ steps.version.outputs.version }}
clojars-username: ${{ secrets.CLOJARS_USERNAME }}
clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }}