mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ Done on the 2027 branch since the force change to Node 24 should (tm) happen after the last 2026 release. And in case it breaks something and we do need to backport to 2026, the release timeline on 2027 is not as strict
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: Artifactory Nightly Cleanup
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '15 2 * * *'
|
|
|
|
jobs:
|
|
wpilib-mvn-development_unused_cleanup:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'wpilibsuite/allwpilib' && github.ref == 'refs/heads/main'
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: jfrog/setup-jfrog-cli@v4
|
|
env:
|
|
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLI_SECRET }}
|
|
- name: Cleanup
|
|
run: jf rt del --spec=.github/workflows/aql/wpilib-mvn-development_unused.aql
|
|
|
|
wpilib-generic-gradle-cache_unused_cleanup:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'wpilibsuite/allwpilib' && github.ref == 'refs/heads/main'
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: jfrog/setup-jfrog-cli@v4
|
|
env:
|
|
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLI_SECRET }}
|
|
- name: Cleanup
|
|
run: jf rt del --spec=.github/workflows/aql/wpilib-generic-gradle-cache_unused.aql
|