Skip to content

ci: refactor nightlies workflow + update go mod dependencies #18

ci: refactor nightlies workflow + update go mod dependencies

ci: refactor nightlies workflow + update go mod dependencies #18

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Scheduled Nightlies
concurrency:
group: nightlies
cancel-in-progress: false
on:
workflow_dispatch:
inputs:
appsToBuild:
description: App(s) to build
required: false
type: string
default: all
schedule:
- cron: "0 0 * * *"
pull_request:
jobs:
simple-checks:
name: Simple Checks
uses: ./.github/workflows/simple-checks.yaml
build-images:
name: Build Images
needs: simple-checks
uses: ./.github/workflows/build-applications.yaml

Check failure on line 29 in .github/workflows/nightlies-scheduled.yaml

View workflow run for this annotation

GitHub Actions / Scheduled Nightlies

Invalid workflow file

The workflow is not valid. In .github/workflows/nightlies-scheduled.yaml (Line: 29, Col: 11): Error from called workflow cosmos/nightly-stack/.github/workflows/build-applications.yaml@cf24bfff0f884f47324b60eb5aa2a19bbae6cd41 (Line: 63, Col: 11): Unexpected end of expression: '||'. Located at position 45 within expression: matrix.app.update_modules == true && 'mods' ||
secrets: inherit
permissions:
contents: read
packages: write
with:
# appsToBuild: ${{ inputs.appsToBuild }}
appsToBuild: all
publishArtifacts: true
sendNotifications: true
# render-readme:
# name: Render Readme
# needs: build-images
# uses: ./.github/workflows/render-readme.yaml
# secrets: inherit