Skip to content

Commit e7bbd24

Browse files
committed
build on PR
1 parent 1fbd69e commit e7bbd24

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/build-plugin.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build Plugin
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
types: [closed]
9+
branches:
10+
- '**'
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up JDK 17
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: 'temurin'
24+
java-version: 17
25+
26+
- name: Grant execute permission for gradlew
27+
run: chmod +x ./gradlew
28+
29+
- name: Build plugin
30+
run: ./gradlew buildPlugin
31+
32+
- name: Upload plugin artifact
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: plugin-artifact
36+
path: plugin/build/distributions/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.idea
33
.gradle
44
*.iml
5+
.intellijPlatform
56
build/
67
out
78
local.properties

0 commit comments

Comments
 (0)