Files
v2ray_simple/.github/workflows/aar.yml
T
e1732a364fed b75a3ecfb7 修订aar.yml
2022-12-30 17:31:50 +08:00

38 lines
756 B
YAML

name: Build aar
on:
workflow_dispatch:
jobs:
build_job1:
name: build aar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Set up JDK 12
uses: actions/setup-java@v1
with:
java-version: 12
- name: Run genaar.sh
run: |
go install golang.org/x/mobile/cmd/gomobile@latest
export PATH=$PATH:~/go/bin
gomobile init
cd machine
chmod +x genaar.sh
./genaar.sh
- name: Generate Artifact
uses: actions/upload-artifact@v3
with:
name: xx.aar
path: machine/xx.aar