Bump com.android.tools.build:gradle from 8.6.1 to 8.7.0 #741
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
- 'img/**' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
- 'img/**' | |
jobs: | |
build: | |
name: "Build" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt update && sudo apt install -y libarchive-tools | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Validation | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: Java setup | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Restore cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build | |
run: ./gradlew assembleDebug | |
- name: Build companion package | |
run: ./build_termux_package | |
- name: Store app-arm64-v8a-debug | |
uses: actions/upload-artifact@v4 | |
with: | |
name: termux-x11-arm64-v8a-debug | |
path: ./app/build/outputs/apk/debug/app-arm64-v8a-debug.apk | |
- name: Store app-armeabi-v7a-debug | |
uses: actions/upload-artifact@v4 | |
with: | |
name: termux-x11-armeabi-v7a-debug | |
path: ./app/build/outputs/apk/debug/app-armeabi-v7a-debug.apk | |
- name: Store app-universal-debug | |
uses: actions/upload-artifact@v4 | |
with: | |
name: termux-x11-universal-debug | |
path: ./app/build/outputs/apk/debug/app-universal-debug.apk | |
- name: Store app-x86_64-debug | |
uses: actions/upload-artifact@v4 | |
with: | |
name: termux-x11-x86_64-debug | |
path: ./app/build/outputs/apk/debug/app-x86_64-debug.apk | |
- name: Store app-x86-debug | |
uses: actions/upload-artifact@v4 | |
with: | |
name: termux-x11-x86-debug | |
path: ./app/build/outputs/apk/debug/app-x86-debug.apk | |
- name: Store companion package | |
uses: actions/upload-artifact@v4 | |
with: | |
name: termux-companion packages | |
path: | | |
./app/build/outputs/apk/debug/termux-x11-*-all.deb | |
./app/build/outputs/apk/debug/termux-x11-*-any.pkg.tar.xz | |
- name: Store unstripped libraries with debug symbols | |
uses: actions/upload-artifact@v4 | |
with: | |
name: termux-x11-unstripped-libraries-for-ndk-stack | |
path: ./app/build/intermediates/cxx/Debug/* | |
- name: Update Nightly Release | |
uses: andelf/nightly-release@main | |
if: github.repository == 'termux/termux-x11' && github.ref == 'refs/heads/master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: nightly | |
name: 'Nightly Release $$' | |
draft: false | |
prerelease: false | |
body: | | |
This is a nightly release of the termux-x11 app. | |
Based on ${{ github.sha }} | |
files: | | |
./app/build/outputs/apk/debug/app-*-debug.apk | |
./app/build/outputs/apk/debug/termux-x11-*-all.deb | |
./app/build/outputs/apk/debug/termux-x11-*-any.pkg.tar.xz |