Skip to content

Commit

Permalink
ci(sdk): use macos for android sdk release (#808)
Browse files Browse the repository at this point in the history
ci(sdk): use macos for android sdk release

Signed-off-by: Rolson Quadras <[email protected]>
  • Loading branch information
rolsonquadras authored Aug 22, 2024
1 parent 9837cf4 commit a3917bc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ on:

jobs:
PublishAndroidSDKRelease:
runs-on: ubuntu-24.04
timeout-minutes: 10
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -43,18 +43,19 @@ jobs:
echo $NEW_VER
- name: Generate Binding
run: |
echo $PATH
echo ${{ github.workspace }}
echo ${GOPATH}
echo ${GOROOT}
export PATH=$GOPATH/bin:$PATH
export PATH=$GOPATH/bin:$PATH
echo $PATH
which go
go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
NEW_VERSION=$NEW_VER GIT_REV=$(git rev-parse HEAD) BUILD_TIME=$(date) make generate-android-bindings
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPATH: /home/runner/work/wallet-sdk/goroot
GOPATH: /Users/runner/work/wallet-sdk/goroot
- name: Upload Android bindings to GitHub Actions Artifacts
uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit a3917bc

Please sign in to comment.