Workflows
Workflow Files
my-repo/
├── .copia/
│ └── workflows/
│ ├── ci.yaml
│ └── deploy.yaml
├── src/
└── README.mdBasic Structure
name: My Workflow # Human-readable name
on: [push] # When to run
jobs:
build: # Job ID
runs-on: windows10-S5K # Which runner label to use
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run a script
run: echo "Build complete"Trigger Events
Single event
Multiple events
Manual dispatch
Supported Trigger Events
Event
Activity Types
Jobs
Basic job
Multiple jobs
The runs-on key
runs-on keySteps
Run a shell command
Run a multi-line script
Use an action
Specify a working directory
Set environment variables
Using Actions
From GitHub (default)
From any Git repository (absolute URL)
Local actions
Context Variables
Expression
Description
Conditional Steps
Default Shell
Example: PLC Project Validation Workflow
Last updated
Was this helpful?
