Skip to content

Condor profile: cleaned up and added descriptions #190

Condor profile: cleaned up and added descriptions

Condor profile: cleaned up and added descriptions #190

Workflow file for this run

on:
push:
branches:
- master
env:
JAVA_DISTRIBUTION: zulu
JAVA_VERSION: 21.0.0+35
GRADLE_OPTS: -Dorg.gradle.daemon=false
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: Checkout ControllerBuddy-Profiles
uses: actions/checkout@v4
with:
path: ControllerBuddy-Profiles
fetch-depth: 0
persist-credentials: false
- name: Checkout ControllerBuddy
uses: actions/checkout@v4
with:
repository: bwRavencl/ControllerBuddy
path: ControllerBuddy
fetch-depth: 0
persist-credentials: false
submodules: true
- name: Checkout ControllerBuddy-Pages
uses: actions/checkout@v4
with:
repository: bwRavencl/ControllerBuddy-Pages
path: ControllerBuddy-Pages
fetch-depth: 0
persist-credentials: false
- name: Install JDK
uses: actions/setup-java@v3
with:
distribution: ${{ env.JAVA_DISTRIBUTION }}
java-version: ${{ env.JAVA_VERSION }}
- name: Install ControllerBuddy
uses: gradle/gradle-build-action@v2
with:
arguments: installDist
build-root-directory: ControllerBuddy
- name: Update Visualizations
timeout-minutes: 7
run: |
rm -f ControllerBuddy-Pages/profiles/*.html
xvfb-run -a -s '-screen 0 1024x768x24' ./ControllerBuddy/build/install/ControllerBuddy/bin/ControllerBuddy -skipMessageDialogs &
sleep 3
for file in ControllerBuddy-Profiles/*.json
do
xvfb-run -a -s '-screen 0 1024x768x24' ./ControllerBuddy/build/install/ControllerBuddy/bin/ControllerBuddy -skipMessageDialogs -profile "$file" -export "ControllerBuddy-Pages/profiles/$(basename "$file" .json).html"
done
xvfb-run -a -s '-screen 0 1024x768x24' ./ControllerBuddy/build/install/ControllerBuddy/bin/ControllerBuddy -quit
- name: Commit files
run: |
cd ControllerBuddy-Pages
git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com'
git config --local user.name 'github-actions[bot]'
git add profiles
git commit -m 'Updated profile visualizations' || echo 'Nothing to update'
- name: Push changes
uses: ad-m/github-push-action@master
with:
repository: bwRavencl/ControllerBuddy-Pages
directory: ControllerBuddy-Pages
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}