There was an error while loading. Please reload this page.
1 parent 944181c commit 965fa40Copy full SHA for 965fa40
1 file changed
.github/workflows/pkg.yml
@@ -73,3 +73,21 @@ jobs:
73
npc_sdk.tar.gz
74
env:
75
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