GH actions for top level #2

Closed
opened 3 years ago by mbutterick · 1 comments
mbutterick commented 3 years ago (Migrated from github.com)

That triggers the actions in subdirs.

That triggers the actions in subdirs.
mbutterick commented 3 years ago (Migrated from github.com)

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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

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