test/.forgejo/workflows/test4.yml

28 lines
706 B
YAML
Raw Normal View History

name: Android CI
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- run: cat /etc/os-release
- run: uname -a
- run: whoami
- run: lscpu
- run: lsblk -a
- run: lspci -v
- run: df -h
# - uses: actions/checkout@v1
- name: set up JDK 1.8
#uses: actions/setup-java@v1
uses: https://github.com/actions/setup-java@v1
with:
java-version: 1.8
- run: which java
- run: java -version
- name: Show vars
run: echo GITHUB_ACTOR:${GITHUB_ACTOR},echo GITHUB_TOKEN:${GITHUB_TOKEN}, GITHUB_WORKSPACE is ${$GITHUB_WORKSPACE}
- name: Build with Gradle
run: ./gradlew assembleDebug