Skip to content

Commit

Permalink
- New release workflow
Browse files Browse the repository at this point in the history
- Disabled transparency on run widget (#109)

Signed-off-by: Vlad Volkov <vlad@peoplevine.com>
  • Loading branch information
vladyslavvolkov committed Nov 7, 2023
1 parent e8b9772 commit cf25476
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 }}

0 comments on commit cf25476

Please sign in to comment.