-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (30 loc) · 760 Bytes
/
build.yml
File metadata and controls
38 lines (30 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build Plugin
on: push
#on:
# push:
# branches: [ "master" ]
# pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
env:
CI_BUILD_VERSION: build.test.${{ github.run_number }}
RUNNER_NUMBER: ${{ github.run_number }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build
run: |
chmod 777 gradlew
./gradlew.bat buildPlugin
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.CI_BUILD_VERSION }}
path: build/distributions/*.zip