Change gomobile fork to use the github.com/ProtonMail/go-mobile fork (#107)

* changed the go-mobile fork to use PM's fork

* changed build dir in build.sh

* changed the build dir so we need to change the upload source

* fix syntax err in github action

* fixed the error with the new build dir

* added the java package flag for android builds

* removed the other go-mobile forks from the go.sum

Co-authored-by: marin thiercelin <marin.thiercelin@pm.me>
This commit is contained in:
marinthiercelin 2020-12-09 01:03:39 -08:00 committed by GitHub
parent 71d595a366
commit 2a4ac0999b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 16 deletions

View file

@ -17,17 +17,23 @@ jobs:
with:
java-version: 1.8
- name: Set up Go 1.15
uses: actions/setup-go@v2
with:
go-version: ^1.15.6
id: go
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: |
./build.sh android
find build
find dist
- name: Upload Android artifacts
uses: actions/upload-artifact@v2
with:
name: Android build
path: build/android
path: dist/android
if-no-files-found: error

View file

@ -21,7 +21,7 @@ jobs:
- name: Set up Go 1.15
uses: actions/setup-go@v2
with:
go-version: ^1.15
go-version: ^1.15.6
id: go
- name: Checkout
@ -32,39 +32,39 @@ jobs:
platform: ${{ 'iOS Simulator' }}
run: |
./build.sh apple
find build
find dist
- name: Upload iOS artifacts
uses: actions/upload-artifact@v2
with:
name: iOS build
path: build/ios
path: dist/ios
if-no-files-found: error
- name: Upload mac OS artifacts
uses: actions/upload-artifact@v2
with:
name: mac OS build
path: build/macos
path: dist/macos
if-no-files-found: error
- name: Upload mac OS ui artifacts
uses: actions/upload-artifact@v2
with:
name: mac OS ui build
path: build/macos-ui
path: dist/macos-ui
if-no-files-found: error
- name: Upload iOS simulator artifacts
uses: actions/upload-artifact@v2
with:
name: iOS simulator build
path: build/ios-simulator
path: dist/ios-simulator
if-no-files-found: error
- name: Upload xcframework
uses: actions/upload-artifact@v2
with:
name: Gopenpgp xcframework
path: build/Gopenpgp.xcframework
path: dist/Gopenpgp.xcframework
if-no-files-found: error