GH actions for top level #2

Closed
opened 9 months ago by mbutterick · 1 comments
mbutterick commented 9 months ago (Migrated from github.com)
Owner

That triggers the actions in subdirs.

That triggers the actions in subdirs.
mbutterick commented 9 months ago (Migrated from github.com)
Owner

As of today, GH workflows can only live in the top-level .github/workflows directory. They cannot live in subdirectories. Thus there is no way to use a top-level workflow to trigger workflows in subdirectories (because they are not allowed to live there).

Instead:

  1. I renamed the per-project workflows.
  2. I set the working-directory within each (to cause the action to be executed using the appropriate subdirectory as working directory), and
  3. I moved them into the top-level .github/workflows directory.

The workflows can probably be simplified further (e.g., consolidated into fewer). For now, however, we are 🤘

As of today, GH workflows can only live in the top-level `.github/workflows` directory. They cannot live in subdirectories. Thus there is no way to use a top-level workflow to trigger workflows in subdirectories (because they are not allowed to live there). Instead: 1. I renamed the per-project workflows. 1. I set the `working-directory` within each (to cause the action to be executed using the appropriate subdirectory as working directory), and 1. I moved them into the top-level `.github/workflows` directory. The workflows can probably be simplified further (e.g., consolidated into fewer). For now, however, we are 🤘
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/typesetting#2
Loading…
There is no content yet.