forked from openpilot-hub/devpilot-intellij
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 928 Bytes
/
build-plugin-local.yml
File metadata and controls
40 lines (33 loc) · 928 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
39
40
name: Build Plugin (Local)
on:
workflow_dispatch:
inputs:
version:
description: 'Plugin version'
required: true
default: '1.0.0'
jobs:
build:
runs-on: ubuntu-latest
environment:
name: local
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Set Config
run: |
mkdir src/main/resources/config
touch src/main/resources/config/local.properties
echo "${{ vars.DEVPILOT_CONFIG }}" >> src/main/resources/config/local.properties
- name: Build plugin
run: ./gradlew buildPlugin
- name: Upload plugin artifact
uses: actions/upload-artifact@v4
with:
name: DevPilot-local
path: build/distributions/DevPilot-*.zip