diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-29 09:16:15 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-29 09:16:15 -0700 |
commit | 7ca563cb9bf7a2fde68438b8ef1d09b7205edb8b (patch) | |
tree | 95754d8a616d3bf2984173a2d5a8afd19820a537 /.github | |
parent | d9f127b979ff52731552edecd1d0762c21eb4403 (diff) | |
download | trackermap-server-7ca563cb9bf7a2fde68438b8ef1d09b7205edb8b.tar.gz trackermap-server-7ca563cb9bf7a2fde68438b8ef1d09b7205edb8b.tar.bz2 trackermap-server-7ca563cb9bf7a2fde68438b8ef1d09b7205edb8b.zip |
Release GitHub action
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..8183dd5f1 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,43 @@ +name: Build installers + +on: + workflow_dispatch: + inputs: + version: + description: 'Version' + required: true + default: 'master' + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - uses: actions/setup-java@v3 + with: + distribution: zulu + java-version: 11 + - run: ./gradlew build + - uses: actions/setup-node@v3 + with: + node-version: 14 + - run: | + wget http://cdn.sencha.com/cmd/7.1.0.15/no-jre/SenchaCmd-7.1.0.15-linux-i386.sh.zip + unzip SenchaCmd-*.zip + ./SenchaCmd-*.sh -q + echo "$HOME/bin/Sencha/Cmd/" >> $GITHUB_PATH + - run: ./traccar-web/tools/package.sh + - run: | + sudo apt-get update + sudo apt-get install innoextract wine wine32 + - run: | + cd setup + wget http://files.jrsoftware.org/is/5/isetup-5.5.6.exe + wget https://github.com/ojdkbuild/ojdkbuild/releases/download/java-11-openjdk-11.0.13.8-1/java-11-openjdk-11.0.13.8-1.windows.ojdkbuild.x86_64.zip + wget https://github.com/ojdkbuild/contrib_jdk11u-ci/releases/download/jdk-11.0.13%2B8/jdk-11.0.13-ojdkbuild-linux-x64.zip + wget https://github.com/ojdkbuild/contrib_jdk11u-arm32-ci/releases/download/jdk-11.0.13%2B8/jdk-11.0.13-ojdkbuild-linux-armhf.zip + ./package ${{ github.event.inputs.version }} |