Skip to content

Packages

Packages #22

Workflow file for this run

name: Packages
on:
workflow_dispatch:
jobs:
build-libs-android:
name: Build libs (Android)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: 🐼 Setup go1.22+
uses: actions/setup-go@v5
with:
go-version: '>=1.22'
- name: Run build command
run: |
go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
gomobile bind -o hello.aar -androidapi 21 -target android -tags mobile ./libmodule/src/go/mobile/
- name: Upload .aar files
uses: actions/upload-artifact@v4
with:
name: aar-files
path: '**/*.aar'
- name: Upload .jar files
uses: actions/upload-artifact@v4
with:
name: jar-files
path: '**/*.jar'