Skip to content

Exit with non-0 status code on failure #3

Exit with non-0 status code on failure

Exit with non-0 status code on failure #3

Workflow file for this run

name: Release
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
env:
VERSION: ${{ github.ref_name }}
steps:
- name: Checkout git repo
uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '21'
- uses: extractions/setup-just@v1
- uses: DeLaGuardo/[email protected]
with:
cli: latest
- name: Build
run: |
just build
- name: Release
if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}
env:
CLOJARS_USERNAME: infrastructure-kepler16-com
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
run: |
just release