Remove redundant ?user #15
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: CD | |
on: | |
push: | |
tags: | |
- 'v*.*.*' # Enforce Semantic Versioning | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup CD Environment | |
uses: yetanalytics/actions/[email protected] | |
- name: Cache Deps | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.m2 | |
~/.gitlibs | |
key: ${{ runner.os }}-deps-${{ hashFiles('deps.edn') }} | |
restore-keys: | | |
${{ runner.os }}-deps- | |
- name: Run tests | |
run: make test | |
- name: Clean up | |
run: make clean | |
- name: Extract version | |
id: version | |
run: echo version=${GITHUB_REF#refs\/tags\/v} >> $GITHUB_OUTPUT | |
- name: Build and deploy to Clojars | |
uses: yetanalytics/actions/[email protected] | |
with: | |
artifact-id: 're-oidc' | |
src-dirs: '["src/lib"]' | |
resource-dirs: '[]' | |
version: ${{ steps.version.outputs.version }} | |
clojars-username: ${{ secrets.CLOJARS_USERNAME }} | |
clojars-deploy-token: ${{ secrets.CLOJARS_PASSWORD }} |