forked from rusefi/rusefi
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (32 loc) · 1.21 KB
/
Copy pathbuild-tsplugin-body.yaml
File metadata and controls
43 lines (32 loc) · 1.21 KB
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
41
42
name: TS Plugin
on:
workflow_dispatch:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Checkout Submodules
run: |
git submodule update --init --depth=1 java_console/peak-can-basic
# As of 2025 rusEFI TS plugin is useful again: it provides a knock spectrogram! TS uses java 8 [tag:java8]
- uses: ./.github/actions/setup-java
- name: Test Compiler
run: javac -version
- name: Install Tools
run: |
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
sudo apt-get install sshpass
- name: Build TS plugin body
working-directory: .
run: ./gradlew :ts_plugin:shadowJar
- name: Upload plugin artifact
uses: actions/upload-artifact@v7
with:
name: rusefi_plugin_body.jar
path: java_tools/ts_plugin/build/libs/rusefi_plugin_body.jar
- name: Upload plugin body
working-directory: .
run: java_console/upload_file.sh ${{ secrets.RUSEFI_SSH_USER }} ${{ secrets.RUSEFI_SSH_PASS }} ${{ secrets.RUSEFI_SSH_SERVER }} build_server/autoupdate java_tools/ts_plugin/build/libs/rusefi_plugin_body.jar