Skip to content

Merge branch 'main' into arm64-aarch64 #2

Merge branch 'main' into arm64-aarch64

Merge branch 'main' into arm64-aarch64 #2

Workflow file for this run

name: Test changes
on:
workflow_dispatch:
push:
branches:
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build x86-64 mainnet
run: |
mkdir artifacts
git fetch -a
mvn clean compile package -DskipTests
cp target/MyLocalTon.jar artifacts/MyLocalTon-x86-64.jar
- name: Build x86-64 testnet
run: |
mvn clean compile package -DskipTests -Dton_branch=testnet
cp target/MyLocalTon.jar artifacts/MyLocalTon-x86-64-testnet.jar
- name: Build arm64-aarch64 mainnet
run: |
git checkout arm64-aarch64
mvn clean compile package -DskipTests
cp target/MyLocalTon.jar artifacts/MyLocalTon-arm64.jar
- name: Build arm64-aarch64 testnet
run: |
mvn clean compile package -DskipTests -Dton_branch=testnet
cp target/MyLocalTon.jar artifacts/MyLocalTon-arm64-testnet.jar
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: All-MyLocalTon-Jars
path: artifacts