Skip to content

Bump com.acmerobotics.dashboard:dashboard from 0.4.17 to 0.5.1 #40

Bump com.acmerobotics.dashboard:dashboard from 0.4.17 to 0.5.1

Bump com.acmerobotics.dashboard:dashboard from 0.4.17 to 0.5.1 #40

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ runner.os }}-
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
- name: Build and Test
run: ./gradlew build --info --stacktrace --no-daemon
- name: Build Debug APK
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: ./gradlew assembleDebug --info --stacktrace --no-daemon
- name: Upload APK
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v5
with:
name: debug-apk
path: |
**/build/outputs/apk/debug/*.apk
retention-days: 7