Skip to content

Commit

Permalink
gh action: deploy to clojars in tags generate
Browse files Browse the repository at this point in the history
Signed-off-by: Avelino <[email protected]>
  • Loading branch information
avelino committed Jun 5, 2024
1 parent 6b1cdf1 commit 8e3253d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on:
push:
tags:
- 'v*'

jobs:
clojars:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: clojars-deploy
uses: "DeLaGuardo/[email protected]"
with:
cli: "1.11.1.1139"
- run: |
clj -M:dev --report stderr -m com.moclojer.tools.build && \
clj -X:deploy-clojars
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}

0 comments on commit 8e3253d

Please sign in to comment.