Mem lrs version fix (#102) #28
Workflow file for this run
This file contains hidden or 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: CD | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' # Enforce Semantic Versioning | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup CD Environment | |
| uses: yetanalytics/action-setup-env@v2 | |
| with: | |
| java-version: '21' | |
| - name: Extract version | |
| id: version | |
| run: echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT | |
| - name: Build and deploy to Clojars | |
| uses: yetanalytics/action-deploy-clojars@v2 | |
| with: | |
| artifact-id: 'lrs' | |
| resource-dirs: '["resources"]' | |
| version: ${{ steps.version.outputs.version }} | |
| clojars-username: ${{ secrets.CLOJARS_USERNAME }} | |
| clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }} |