name: Build CafeMap

on:
  workflow_dispatch:

jobs:
  activate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v1
      - uses: actions/cache@v1.1.0
        with:
          path: cafe-map/client/unity/Library
          key: Library-CafeMap-Android
          restore-keys: |
            Library-CafeMap-
            Library-
      - name: Build for Android
        uses: webbertakken/unity-builder@1
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
        with:
          projectPath: cafe-map/client/unity
          unityVersion: 2019.4.12f1
          targetPlatform: Android
      - name: Upload build
        uses: actions/upload-artifact@v2
        with:
          name: Build
          path: build

name: Build CafeMap

on:
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v1
      - uses: actions/cache@v1.1.0
        with:
          path: cafe-map/client/unity/Library
          key: Library-CafeMap-Android
          restore-keys: |
            Library-CafeMap-
            Library-
      - name: Build for Android
        uses: webbertakken/unity-builder@v1
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_UBUNTU }}
        with:
          projectPath: cafe-map/client/unity
          unityVersion: 2019.4.12f1
          targetPlatform: Android
          androidKeystoreBase64: ${{ secrets.CAFEMAP_ANDROID_KEYSTORE_BASE64 }}
          androidKeystorePass: ${{ secrets.CAFEMAP_ANDROID_KEYSTORE_PASS }}
          androidKeyaliasName: cafemap-release
          androidKeyaliasPass: ${{ secrets.CAFEMAP_ANDROID_KEYSTORE_PASS }}
      - name: Upload build
        uses: actions/upload-artifact@v2
        with:
          name: Build
          path: build

Fix build.yml and add android keys
Fix build.yml and add android keys
