From cf254768dfcd07470baed7ad5365190c9525058d Mon Sep 17 00:00:00 2001 From: Vlad Volkov Date: Wed, 8 Nov 2023 01:30:44 +0200 Subject: [PATCH] - New release workflow - Disabled transparency on run widget (#109) Signed-off-by: Vlad Volkov --- .github/workflows/release.yml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dee731a..8b796af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,16 +1,17 @@ name: Release on: - release: - types: [ published ] + push: + tags: + - "*.*.*.*" + -env: - APP_VERSION: ${{ github.event.release.tag_name }} - JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_TOKEN }} jobs: publish: name: Publish to Jetbrains Marketplace runs-on: ubuntu-22.04 + env: + APP_VERSION: ${{ github.ref_name }} steps: - name: Checkout sources uses: actions/checkout@v3 @@ -20,7 +21,19 @@ jobs: with: java-version: 17 distribution: adopt + cache: 'gradle' + + - name: Build plugin + run: sh gradlew buildPlugin --no-daemon + working-directory: src/intellij + + - name: Create release + uses: softprops/action-gh-release@v1 + with: + files: src/intellij/build/libs/intellij-${{ env.APP_VERSION }}.jar - name: Publish to JetBrains marketplace - run: sh gradlew publishPlugin + run: sh gradlew publishPlugin --no-daemon working-directory: src/intellij + env: + JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}