-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GA to publish turms plugins on GitHub Releases #1165
- Loading branch information
1 parent
dad0013
commit 8e1df48
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Publish turms plugins | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
|
||
- name: Build | ||
run: mvn clean package -Dmaven.test.skip=true -am -B -pl turms-plugins/turms-plugin-antispam,turms-plugins/turms-plugin-minio,turms-plugins/turms-plugin-rasa --no-transfer-progress | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
# TODO: Use a fixed name until we start a general release | ||
name: v0.10.0-SNAPSHOT | ||
tag_name: v0.10.0-SNAPSHOT | ||
prerelease: true | ||
generate_release_notes: false | ||
fail_on_unmatched_files: true | ||
files: | | ||
turms-plugins/**/target/*.jar |