Skip to content

Update to 2025 beta image (#23) #63

Update to 2025 beta image (#23)

Update to 2025 beta image (#23) #63

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
container: wpilib/roborio-cross-ubuntu:2024-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gradle/actions/wrapper-validation@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Publish
run: |
./gradlew publish
if: github.repository_owner != 'wpilibsuite' || !startsWith(github.ref, 'refs/tags/v')
- name: Publish (Main)
run: |
./gradlew publish
./gradlew clean publish -PreleaseRepoPublish
env:
RUN_AZURE_ARTIFACTORY_RELEASE: TRUE
ARTIFACTORY_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PUBLISH_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
if: github.repository_owner == 'wpilibsuite' && startsWith(github.ref, 'refs/tags/v')
- uses: actions/upload-artifact@v4
with:
name: Maven
path: ~/releases