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:
|
2022-07-27 02:47:07 -07:00
|
|
|
- uses: actions/checkout@v3
|
2020-06-16 20:57:36 -07:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: '8'
|
|
|
|
|
|
|
|
- name: Test Compiler
|
|
|
|
run: javac -version
|
|
|
|
|
2020-06-16 21:35:16 -07:00
|
|
|
- name: Install Tools
|
2021-10-25 05:22:31 -07:00
|
|
|
run: sudo apt-get install sshpass
|
2020-06-16 20:57:36 -07:00
|
|
|
|
|
|
|
- name: Build TS plugin body
|
|
|
|
working-directory: ./java_tools/ts_plugin
|
|
|
|
run: ant
|
|
|
|
|
2020-06-16 21:01:15 -07:00
|
|
|
- name: Upload plugin body
|
2021-10-08 22:46:29 -07:00
|
|
|
working-directory: .
|
2021-12-22 17:31:44 -08: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/jar/rusefi_plugin_body.jar
|
2021-10-19 04:57:22 -07:00
|
|
|
|