Skip to content

1.1.0 (2024-08-04)

1.1.0 (2024-08-04) #4

Workflow file for this run

name: Release
on:
release:
types:
- published # reacts to releases and prereleases, but not their drafts
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Setup Java 11"
uses: actions/setup-java@v1.4.3
with:
java-version: 11
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
- name: Build jar
run: RELEASE=true clojure -T:build jar
- name: Archive jar
uses: actions/upload-artifact@v3
with:
name: oksa.jar
path: target/oksa.jar
- name: Deploy to Clojars
run: clojure -X:deploy
env:
CLOJARS_USERNAME: ilmoraunio
CLOJARS_PASSWORD: "${{ secrets.CLOJARS_DEPLOY_TOKEN }}"