Skip to content

Commit

Permalink
Run check before publishing a release
Browse files Browse the repository at this point in the history
This is a safety measure if something becomes broken on master

Issue: #175
  • Loading branch information
mlopatkin committed Dec 25, 2021
1 parent 9737b37 commit 5bc4b4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Build and publish snapshot
# Do not use Gradle Daemon because we only have a single invocation and the running daemon interferes with the
# caches.
run: ./gradlew --no-daemon --stacktrace bitbucketUpload
run: ./gradlew --no-daemon --stacktrace check bitbucketUpload
env:
BITBUCKET_PASSWORD: ${{ secrets.BITBUCKET_PASSWORD }}
BITBUCKET_USER: mlopatkin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Build and publish release
# Do not use Gradle Daemon because we only have a single invocation and the running daemon interferes with the
# caches.
run: ./gradlew --no-daemon --stacktrace bitbucketUpload
run: ./gradlew --no-daemon --stacktrace check bitbucketUpload
env:
BITBUCKET_PASSWORD: ${{ secrets.BITBUCKET_PASSWORD }}
BITBUCKET_USER: mlopatkin
Expand Down

0 comments on commit 5bc4b4a

Please sign in to comment.