2021-07-24 13:23:03 -07:00
|
|
|
name: TS Plugin
|
2020-06-16 20:57:36 -07:00
|
|
|
|
|
|
|
on: [push,pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-05 06:09:12 -07:00
|
|
|
- uses: actions/checkout@v4
|
2023-01-29 01:43:27 -08:00
|
|
|
|
2022-07-28 01:00:13 -07:00
|
|
|
- uses: actions/setup-java@v3
|
2020-06-16 20:57:36 -07:00
|
|
|
with:
|
2022-07-28 01:00:13 -07:00
|
|
|
distribution: 'zulu'
|
2023-07-04 09:20:22 -07:00
|
|
|
java-version: '11'
|
2020-06-16 20:57:36 -07:00
|
|
|
|
|
|
|
- name: Test Compiler
|
|
|
|
run: javac -version
|
|
|
|
|
2020-06-16 21:35:16 -07:00
|
|
|
- name: Install Tools
|
2023-01-13 02:35:59 -08:00
|
|
|
run: |
|
2023-02-25 15:07:31 -08:00
|
|
|
sudo bash misc/actions/add-ubuntu-latest-apt-mirrors.sh
|
2023-01-13 02:35:59 -08:00
|
|
|
sudo apt-get install sshpass
|
2020-06-16 20:57:36 -07:00
|
|
|
|
|
|
|
- name: Build TS plugin body
|
2023-07-04 09:20:22 -07:00
|
|
|
working-directory: ./java_tools/
|
|
|
|
run: ./gradlew :ts_plugin:shadowJar
|
2020-06-16 20:57:36 -07:00
|
|
|
|
2020-06-16 21:01:15 -07:00
|
|
|
- name: Upload plugin body
|
2021-10-08 22:46:29 -07:00
|
|
|
working-directory: .
|
2023-07-04 09:20:22 -07:00
|
|
|
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
|
2021-10-19 04:57:22 -07:00
|
|
|
|