Skip to content

Commit

Permalink
Fix release for case changes in artefact; fail step if artefact does …
Browse files Browse the repository at this point in the history
…not exist
  • Loading branch information
jshiell committed Aug 24, 2024
1 parent 649932d commit 996ce42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ jobs:
run: ./gradlew check buildPlugin

- name: Release
uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
uses: softprops/action-gh-release@v2
with:
body_path: ${{ github.workspace }}-CHANGELOG.txt
fail_on_unmatched_files: true
draft: false
prerelease: false
files:
build/distributions/CheckStyle-IDEA-${{ steps.build_info.outputs.build_tag }}.zip
build/distributions/checkstyle-idea-${{ steps.build_info.outputs.build_tag }}.zip

- name: Publish to Jetbrains Plugin Repo
run: ./gradlew publishPlugin
Expand Down

0 comments on commit 996ce42

Please sign in to comment.