Skip to content

Commit

Permalink
Create GitHub Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuowei committed Jan 19, 2020
1 parent 277ec4f commit 2b29bae
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tools/ci/setup_repositories.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b29bae

Please sign in to comment.