name: Gomobile for Android on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: name: Build library for Android with gomobile runs-on: ubuntu-latest steps: - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Checkout uses: actions/checkout@v2 - name: Build run: | ./build.sh android find build - name: Upload Android artifacts uses: actions/upload-artifact@v2 with: name: Android build path: build/android if-no-files-found: error