Skip to content

Commit

Permalink
Update walter-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-yuxuan committed Apr 18, 2022
1 parent 5364fb8 commit 62efe4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/walter-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
name: jars
path: |-
target/*.jar
target/**.jar
pom.xml
release-artifacts:
runs-on: ubuntu-latest
Expand All @@ -77,8 +77,7 @@ jobs:
if: ${{ github.event.inputs.version-to-release != '' }}
with:
name: jars
path: target
- run: tree -L 1 -Chup ./target
path: .
- run: git diff --staged --exit-code
continue-on-error: true
id: diff
Expand All @@ -88,14 +87,15 @@ jobs:
if: steps.diff.outcome == 'failure'
- run: git push --follow-tags
if: steps.diff.outcome == 'failure'
- run: tree -Chup .
- uses: softprops/action-gh-release@fe9a9bd3295828558c7a3c004f23f3bf77d155b2
with:
generate_release_notes: true
tag_name: ${{ github.event.inputs.version-to-release }}
draft: false
prerelease: false
fail_on_unmatched_files: false
files: target/*-standalone.jar
fail_on_unmatched_files: true
files: ./target/**-standalone.jar
- name: Deploy on Clojars?
id: target-clojars
run: lein pprint :deploy-repositories | bb --stream -I --eval '(System/exit (if (contains? (into {} *input*) (first *command-line-args*)) 0 1))' "clojars"
Expand Down

0 comments on commit 62efe4e

Please sign in to comment.