diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e69de29b..8098857b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Build BlockLauncher + +on: [push] + +jobs: + build: + runs-on: ubuntu-18.04 + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Build with CI build script + run: tools/ci/ci_build.sh + env: + ASSETS_PASSWORD: ${{ secrets.ASSETS_PASSWORD }} + SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} + SIGNING_KEY_7Z_PASSWORD: ${{ secrets.SIGNING_KEY_7Z_PASSWORD }} + + - name: Upload build output + uses: actions/upload-artifact@v1 + with: + name: MCPELauncherApp + path: MCPELauncherApp-release.apk diff --git a/tools/ci/setup_repositories.sh b/tools/ci/setup_repositories.sh index 8b736f70..61214967 100755 --- a/tools/ci/setup_repositories.sh +++ b/tools/ci/setup_repositories.sh @@ -11,7 +11,7 @@ curdirname="$(basename "$PWD")" cd .. clone "https://github.com/zhuowei/aFileChooser.git" "aFileChooser" "8d9e9989f46f9ce594add8b9945464791362b9af" clone "https://github.com/Chainfire/libsuperuser.git" "libsuperuser" "c5872be26d8fb0231cc80699595a11a19e9a6bc4" -clone "git@github.com:zhuowei/mcpelauncher-app-staging.git" "mcpelauncher-app" "5dc50213323c3116853a243cf8698b59a14e5e07" +clone "https://github.com/zhuowei/MCPELauncher-app.git" "mcpelauncher-app" "5dc50213323c3116853a243cf8698b59a14e5e07" clone "https://github.com/BlockLauncherApp/blocklauncher-create-xbox-interop-lib.git" "create-xbox-interop-lib" "6fe940cfca0659209be79902b32f6ec897e93bfb" if [ "$curdirname" != "MCPELauncher" ] then