|
|
|
@ -33,6 +33,28 @@ jobs:
|
|
|
|
|
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
|
|
|
|
run: ./gradlew publishPlugin
|
|
|
|
|
|
|
|
|
|
# Patch changelog, commit and push to the current repository
|
|
|
|
|
changelog:
|
|
|
|
|
name: Update Changelog
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
|
|
# Check out current repository
|
|
|
|
|
- name: Fetch Sources
|
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
with:
|
|
|
|
|
ref: ${{ github.event.release.tag_name }}
|
|
|
|
|
|
|
|
|
|
# Setup Java 1.8 environment for the next steps
|
|
|
|
|
- name: Setup Java
|
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
|
with:
|
|
|
|
|
java-version: 1.8
|
|
|
|
|
|
|
|
|
|
# Publish the plugin to the Marketplace
|
|
|
|
|
- name: Patch Changelog
|
|
|
|
|
run: ./gradlew patchChangelog
|
|
|
|
|
|
|
|
|
|
# Commit patched Changelog
|
|
|
|
|
- name: Commit files
|
|
|
|
|
run: |
|
|
|
|
|