From 62efe4e6080bac45182b05f71d83b8505897c18f Mon Sep 17 00:00:00 2001 From: Walter CI Date: Mon, 18 Apr 2022 19:54:47 +0000 Subject: [PATCH] Update walter-cd.yml --- .github/workflows/walter-cd.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/walter-cd.yml b/.github/workflows/walter-cd.yml index 25ae429..08ed40d 100644 --- a/.github/workflows/walter-cd.yml +++ b/.github/workflows/walter-cd.yml @@ -56,7 +56,7 @@ jobs: with: name: jars path: |- - target/*.jar + target/**.jar pom.xml release-artifacts: runs-on: ubuntu-latest @@ -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 @@ -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"