Skip to content

Commit 8c717ac

Browse files
committed
Add github release step
1 parent 340ddea commit 8c717ac

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/clojure.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
13-
1412
steps:
1513
- uses: actions/checkout@v2
1614
- name: Install dependencies
@@ -23,3 +21,14 @@ jobs:
2321
env:
2422
CLOJARS_USERNAME: ${{secrets.CLOJARS_USERNAME}}
2523
CLOJARS_PASSWORD: ${{secrets.CLOJARS_PASSWORD}}
24+
- name: Build uberjar
25+
run: lein uberjar
26+
if: ${{github.ref_name == 'master'}}
27+
- name: Deploy to github releases
28+
uses: "marvinpinto/action-automatic-releases@latest"
29+
if: ${{github.ref_name == 'master'}}
30+
with:
31+
repo_token: ${{secrets.GITHUB_TOKEN}}
32+
files: target/*.jar
33+
automatic_release_tag: latest
34+

0 commit comments

Comments
 (0)