Closed ranjitsingha closed 2 months ago
Do you use Windows
and mintty/Bash
?
Do you use
Windows
andmintty/Bash
?
i am able to build the sdk using ./fetch-sdk.sh but while ./build-openssl.sh i get error
What error? Did you run ./check-environment.sh first?
What error? Did you run ./check-environment.sh first?
it keeps running on loop
Here is my github actions workflow code
name: Android SDK & NDK Setup with TDLib Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-tdlib:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gperf php
- name: Download TDLib
run: |
git clone https://github.com/tdlib/td.git
- name: Build TDLib for Android
run: |
cd td/example/android/
chmod +x *
./check-environment.sh
./fetch-sdk.sh
./build-openssl.sh
./build-tdlib.sh
- name: Zip the TDLib Android folder
run: |
cd td/example/android/
zip -r tdlib-android.zip ./
- name: Upload the artifact
uses: actions/upload-artifact@v3
with:
name: tdlib-android
path: td/example/android/tdlib-android.zip
There are no errors on the screenshots.
There are no errors on the screenshots.
Oh ya sorry i mistook. it was my fault. I am sorry. Its working fine now :) And thank you very much
I am getting this error while running the command ./fetch-sdk.sh
Downloading SDK Manager... Installing required SDK tools... yes: standard output: Broken pipe