Skip to content

Support Installing Nightly Builds #91

Support Installing Nightly Builds

Support Installing Nightly Builds #91

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
testStableWebots:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup Webots
id: setupWebots
uses: ./
with:
webotsVersion: R2023b
- name: Run Webots
run: $RUN_WEBOTS --sysinfo
shell: bash
- name: Display outputs
run: |
echo "RUN_WEBOTS: $RUN_WEBOTS"
echo "steps.setupWebots.outputs.bashCmd: ${{ steps.setupWebots.outputs.bashCmd }}"
echo "steps.setupWebots.outputs.home: ${{ steps.setupWebots.outputs.home }}"
echo "steps.setupWebots.outputs.binDir: ${{ steps.setupWebots.outputs.binDir }}"
echo "steps.setupWebots.outputs.bin: ${{ steps.setupWebots.outputs.bin }}"
echo "steps.setupWebots.outputs.cachePath: ${{ steps.setupWebots.outputs.cachePath }}"
shell: bash
testNightlyWebots:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup Webots
id: setupWebots
uses: ./
with:
webotsVersion: R2024a
webotsTag: nightly_26_7_2024
- name: Run Webots
run: $RUN_WEBOTS --sysinfo
shell: bash
- name: Display outputs
run: |
echo "RUN_WEBOTS: $RUN_WEBOTS"
echo "steps.setupWebots.outputs.bashCmd: ${{ steps.setupWebots.outputs.bashCmd }}"
echo "steps.setupWebots.outputs.home: ${{ steps.setupWebots.outputs.home }}"
echo "steps.setupWebots.outputs.binDir: ${{ steps.setupWebots.outputs.binDir }}"
echo "steps.setupWebots.outputs.bin: ${{ steps.setupWebots.outputs.bin }}"
echo "steps.setupWebots.outputs.cachePath: ${{ steps.setupWebots.outputs.cachePath }}"
shell: bash
release:
# Only release from the main branch
if: github.ref == 'refs/heads/main'
needs: test

Check failure on line 75 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 75, Col: 12): Job 'release' depends on unknown job 'test'.
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Compute next semantic version
id: version
uses: paulhatch/[email protected]
with:
branch: "main"
- name: Tag
run: git tag ${{ steps.version.outputs.version_tag }}
- name: Push
run: git push origin ${{ steps.version.outputs.version_tag }}