mirror of
https://github.com/revanced/aapt2.git
synced 2024-06-06 13:18:44 +02:00
Update build.yml
This commit is contained in:
parent
2f8cf065b3
commit
a6796b8580
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
|
@ -19,14 +19,16 @@ jobs:
|
|||
name: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Clone this repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- name: Clone build-tools
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 'RohitVerma882/build-tools'
|
||||
path: 'build-tools'
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
- name: Set up Azul Zulu OpenJDK 1.8
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
|
@ -37,13 +39,20 @@ jobs:
|
|||
|
||||
- name: Setup Android NDK
|
||||
run: sdkmanager "ndk;${{ env.NDK_VERSION }}"
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade git -y
|
||||
sudo apt-get install build-essential unzip nasm cmake ninja-build -y || exit 1
|
||||
|
||||
- name: Build aapt2
|
||||
env:
|
||||
NDK_TOOLCHAIN: "${{ env.ANDROID_HOME }}/ndk/${{ env.NDK_VERSION }}/toolchains/llvm/prebuilt/linux-x86_64"
|
||||
run: ./build.sh
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dist
|
||||
path: build-tools/dist/
|
||||
|
|
Loading…
Reference in New Issue
Block a user