Use placeholder current-var if not found #5
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: [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 |