Skip to content

change workflow to use vars #299

change workflow to use vars

change workflow to use vars #299

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- main
release:
types: [created, edited]
pull_request:
name: Main
jobs:
cache:
uses: ./.github/workflows/cache.yaml
run_tests:
uses: ./.github/workflows/run_tests.yaml
with:
working-directory: ${{ needs.set_project_folder.outputs.project_folder }}

Check failure on line 18 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / Main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 18, Col: 26): Invalid input, working-directory is not defined in the referenced workflow.
KUBECONFIG: ${{ vars.KUBECONFIG }}
package_and_release:
if: github.event_name == 'release'
uses: ./.github/workflows/package_and_release.yaml
bump_brew:
needs: package_and_release
if: github.event_name == 'release'
uses: ./.github/workflows/bump_brew.yaml
secrets:
TOKEN: ${{ secrets.HOMEBREW }}