Skip to content

Commit c682b08

Browse files
Create GitHub Action to build plugin
1 parent b5b52ff commit c682b08

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Plugin
2+
3+
on:
4+
push:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
10+
jobs:
11+
gradle:
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-java@v4
19+
with:
20+
distribution: temurin
21+
java-version: 17
22+
23+
- name: Setup Gradle
24+
uses: gradle/actions/setup-gradle@v4
25+
26+
- name: Execute Gradle build
27+
run: ./gradlew buildPlugin --no-daemon
28+
29+
- uses: actions/upload-artifact@v4
30+
with:
31+
name: ethersync-plugin.zip
32+
path: build/distributions/ethersync-*.zip

0 commit comments

Comments
 (0)