Skip to content

Reuse build workflow. Do a nightly build. #2

Reuse build workflow. Do a nightly build.

Reuse build workflow. Do a nightly build. #2

#
# Create an 'unstable' release from the main branch
#
name: Unstable Release
on:
#schedule:
# - cron: '0 5 * * *'
workflow_dispatch:
pull_request:
push:
branches: [ main ]
jobs:
getcalver:
runs-on: ubuntu-latest
outputs:
calver: ${{ steps.getcalver.outputs.CALVER }}
steps:
- name: Get CalVer
id: getcalver
run: |
echo "CALVER="$(date +%Y.%m.%d.%H.%M.%S) > $GITHUB_OUTPUT
build:
needs: getcalver
uses: ./.github/workflows/build_release.yml

Check failure on line 28 in .github/workflows/unstable_build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unstable_build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/unstable_build.yml" -> "./.github/workflows/build_release.yml" : You have an error in your yaml syntax on line 43
with:
version: ${{ needs.getcalver.outputs.calver }}
relname: unstable