1.1.0 (2024-08-04) #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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 }}" |