github actions #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Android Docker Image and Upload Artifacts | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Depot CLI | |
uses: depot/setup-action@v1 | |
- run: depot build --project 0k8767spqx --load --tag build -f Dockerfile . | |
env: | |
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }} | |
- uses: shrink/actions-docker-extract@v3 | |
with: | |
image: "build:latest" | |
path: "/out/" | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: android-build-output | |
path: out/ |