Skip to content

Commit 965fa40

Browse files
committed
Docker
1 parent 944181c commit 965fa40

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/pkg.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,21 @@ jobs:
7373
npc_sdk.tar.gz
7474
env:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
77+
build_android:
78+
runs-on: ubuntu-latest
79+
steps:
80+
- name: Check out code into the Go module directory
81+
uses: actions/checkout@v2
82+
- name: Build
83+
run: |
84+
chmod +x build.android.sh
85+
docker run --rm -i -w /app -v $(pwd):/app -e ANDROID_HOME=/usr/local/android_sdk -e GOPROXY=direct fyneio/fyne-cross:android-latest /app/build.android.sh
86+
- name: Upload
87+
uses: softprops/action-gh-release@v1
88+
if: startsWith(github.ref, 'refs/tags/')
89+
with:
90+
files: |
91+
android_client.apk
92+
env:
93+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)