reusable #86
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
run-name: Jackdaw build | ||
on: | ||
push: | ||
branches-ignore: | ||
- master | ||
- main | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
jobs: | ||
run_checks: | ||
uses: ./.github/workflows/run_checks.yaml | ||
Check failure on line 13 in .github/workflows/pipeline.yaml GitHub Actions / .github/workflows/pipeline.yamlInvalid workflow file
|
||
deploy: | ||
needs: run_checks | ||
runs-on: ubuntu-latest | ||
container: clojure:latest | ||
environment: test | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
fetch-depth: 100 | ||
- name: deploy | ||
env: | ||
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | ||
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
run: | | ||
git config --global --add safe.directory /__w/jackdaw/jackdaw | ||
apt-get update | ||
apt-get install -y gpg | ||
echo $GPG_PRIVATE_KEY |base64 --decode |gpg --yes --batch --import | ||
export LEIN_GPG=/__w/jackdaw/jackdaw/.circleci/bin/gpg | ||
export REAL_GPG=$(which gpg) | ||
lein do jar, pom, deploy clojars | ||