Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

nightly rel-934

nightly rel-934 #145

name: nightly rel-934
on:
schedule:
- cron: '0 6 * * *'
jobs:
trigger_workflow_dispatch:
runs-on: ubuntu-latest
steps:
- name: Checkout 934 branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # [email protected]
with:
ref: 'rel-934'
- name: Get the latest 934 version (including minor version)
run: echo "VERSION=$(./bin/garden-version)" >> $GITHUB_ENV
- name: Trigger nightly for rel-934 with version input
run: |
curl -vv --fail-with-body -X POST -u "token:${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/actions/workflows/28837699/dispatches" -d "{\"ref\":\"rel-934\", \"inputs\":{\"version\":\"$VERSION\"}}"