Skip to content

Commit

Permalink
Add deploys step to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jvia committed Jan 11, 2024
1 parent 21cde6b commit 661c9cf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: deps
run: lein deps

- name: lint
run: lein clj-kondo --lint src test

- name: cljfmt
run: lein cljfmt check

- name: test
run: lein test
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: deps
run: lein deps

- name: lint
run: lein clj-kondo --lint src test

- name: cljfmt
run: lein cljfmt check

- name: test
run: lein test

- name: release
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
run: lein deploy releases

0 comments on commit 661c9cf

Please sign in to comment.