mirror of https://github.com/rusefi/rusefi-1.git
30 lines
718 B
YAML
30 lines
718 B
YAML
name: rusEFI TS Plugin Body
|
|
|
|
on: [push,pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '8'
|
|
|
|
- name: Test Compiler
|
|
run: javac -version
|
|
|
|
- name: Install Tools
|
|
run: sudo apt-get install ncftp
|
|
|
|
- name: Build TS plugin body
|
|
working-directory: ./java_tools/ts_plugin
|
|
run: ant
|
|
|
|
- name: Upload plugin body
|
|
working-directory: ./java_tools/ts_plugin
|
|
run: ./upload_plugin.sh ${{ secrets.RUSEFI_BUILD_FTP_USER }} ${{ secrets.RUSEFI_BUILD_FTP_PASS }} ${{ secrets.RUSEFI_FTP_SERVER }}
|