Skip to content

Commit

Permalink
Add deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
valerauko committed Nov 20, 2023
1 parent 3a0bcfb commit 46791de
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release automation

on:
release:
types:
- published

jobs:
clojars:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
cache: maven
- uses: delaguardo/setup-clojure@12.1
with:
lein: 2.10.0
- run: lein deploy clojars
env:
CLOJARS_USER: valerauko
CLOJARS_TOKEN: ${{ secrets.CLOJARS_TOKEN }}

0 comments on commit 46791de

Please # to comment.