Skip to content

Commit

Permalink
fixup jar upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Dec 3, 2023
1 parent c59e506 commit 0d3f97d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,17 @@ jobs:
path: target/ctp-anon-cli*.jar
if-no-files-found: error
release:
# if: contains(github.ref, 'refs/tags/v')
if: contains(github.ref, 'refs/tags/v')
needs: [build]
runs-on: ubuntu-latest
steps:
- name: download artifacts
uses: actions/download-artifact@v3
with:
path: ./dist
- run: |
find ./dist -type f
# - name: upload release
# uses: softprops/action-gh-release@v1
# with:
# files: ./dist/*
# fail_on_unmatched_files: true
# generate_release_notes: true
- name: upload release
uses: softprops/action-gh-release@v1
with:
files: ./dist/**/*.jar
fail_on_unmatched_files: true
generate_release_notes: true

0 comments on commit 0d3f97d

Please sign in to comment.