GitHub Actions vs TeamCity: which one fits your team
Choose GitHub Actions when your code, pull requests and reviews already live on GitHub and you want workflow files stored in the same repository as the code they build. Its jobs can run on GitHub-hosted runners or on runners you host, and GitHub's billing documentation says self-hosted runner usage is free. Choose TeamCity when you want a dedicated build server with its own configuration model, where project settings can be stored in version control as Kotlin DSL or XML and a central team maintains builds for many projects. The decision turns on four questions: where the code lives, how many build agents you need at peak, where builds and secrets must be held, and who operates the server. Before you commit, confirm GitHub's current terms for self-hosted runners, because GitHub announced a per-minute charge for them and then postponed it without a new date.
Licensing is where the cost models diverge most. TeamCity Professional is free without a license key, includes 3 build agents and caps build configurations at 100 and pipelines at 10. Enterprise requires a license key, removes those limits and includes 3 agents, and agent licenses count every authorized agent, whether local, remote, bare-metal or cloud. When you exceed the limit, TeamCity blocks new builds from starting, so count peak parallel jobs before you buy. Enterprise Plus adds a true-up license billed quarterly on monthly peak usage. On the GitHub side, the 3,000 monthly minutes on Team for private repositories are an included quota, and hosted minutes beyond it are billed by runner size. Ask both vendors for a quote built from your peak parallel jobs, monthly minutes and runner types.
Data location and exit need the same scrutiny. GitHub's REST API lists Actions secrets by name and timestamp but never returns their values, so secrets must be re-created in whichever system you move to. GitHub keeps logs and artifacts for 90 days by default, and private repositories can set retention from 1 to 400 days, so export run history before any migration. For data residency, GitHub's EU, Australia, US and Japan regions are offered through GitHub Enterprise Cloud with data residency, while a TeamCity server you host keeps build data on machines you control. Confirm which deployment and backup options your TeamCity edition supports, and who patches the server, maintains agent images and restores backups, because under a self-managed TeamCity those duties stay with your team.
Which product fits which situation
This table maps six common situations to the product that usually fits them better, with the condition under which that advantage holds. Read each row as a starting point, because the fit depends on where you host, how many agents you run and which edition you buy. Confirm current limits and pricing with GitHub and JetBrains before you decide.
| Scenario | Better fit | Why |
|---|---|---|
| A team already on GitHub with light CI | GitHub Actions | Workflows live beside the code with no server to run. Holds while monthly included minutes cover your usage. |
| Many build agents under per-agent licensing | GitHub Actions with self-hosted runners | TeamCity blocks new builds when agent licenses run out. GitHub's billing docs list self-hosted runner usage as free, and its announced charge is postponed. |
| Build configuration kept in version control | GitHub Actions, or TeamCity Kotlin DSL for typed settings | GitHub needs no setup. TeamCity commits .teamcity settings (settings.kts, pom.xml) once versioned settings are enabled. |
| EU data residency requirement | TeamCity self-hosted in your EU datacenter | Build data stays where you host the server. GitHub's EU residency needs Enterprise Cloud on GHE.com, so confirm that scope. |
| Small number of configurations on a free edition | TeamCity Professional | Free without a license key, capped at 100 build configurations, 10 pipelines and 3 agents. Holds while you stay under those limits. |
| Builds with no internet access | TeamCity self-hosted | Server and agents run on your isolated network. GitHub Enterprise Server needs external blob storage and 64 GB memory minimum. |
How each product charges and what drives the bill
The bill for each product is set by a few meters: seats, included minutes, storage, build agents and true-up terms. This section shows which meter drives each product and what to request in writing before you renew or switch. Figures come from each vendor's published terms, which can change, so confirm them on the quote.
GitHub seats and included minutes
GitHub Actions allowances depend on the plan, and the per-user price is separate from them. GitHub's pricing page lists Team at $4 and Enterprise at $21 per user per month. Included private-repository minutes run from 2,000 on Free to 50,000 on Enterprise Cloud. Confirm which plan each organization is on, whether the minute allowance is shared across its repositories, and how Copilot code review minutes draw on the same allowance from June 1, 2026.
GitHub pricing pageGitHub overage, storage and cache
Minutes beyond the quota are billed per minute: $0.002 for Linux 1-core, $0.006 for Linux 2-core x64, $0.010 for Windows 2-core and $0.062 for macOS. Artifact storage above the included amount costs $0.25 per GB per month, shared with GitHub Packages, and cache above 10 GB per repository costs $0.07 per GB per month. Larger runners are always charged, even in public repositories. Ask for a forecast built from your run history, including the 90-day default artifact retention.
Actions billing docsSelf-hosted runners and the postponed charge
GitHub's billing documentation states that self-hosted runner usage is free. GitHub had announced a $0.002 per minute cloud platform charge for self-hosted runner use in private repositories from March 1, 2026, then postponed it to re-evaluate its approach. The postponement gives no new date. The January 1, 2026 hosted runner price reduction still applies. Your own compute, patching and scaling still cost money, so ask the vendor to confirm the current status in writing before you size a self-hosted fleet.
GitHub pricing changesTeamCity Professional limits
TeamCity Professional is free without a license key and includes most Enterprise features, but not paid integrations such as AI Assistant. It is capped at 100 build configurations and 10 pipelines, including archived ones, with 3 build agents included. Each additional agent license raises the configuration limit by 10. Support is limited to the community forum and public issue tracker, so check whether your team can run builds without vendor support before relying on this tier.
TeamCity licensing policyTeamCity Enterprise license key and agents
Enterprise requires a license key and removes the build configuration and pipeline limits. It includes 3 build agents, with more available to buy, plus one year of upgrades and priority support. Agent licenses count the authorized agents, whatever their location, and are not tied to specific machines. Once the agent limit is exceeded, TeamCity blocks new builds from starting. Ask the quote to state the agent count, the upgrade term and the license position of high-availability nodes.
Enterprise Plus true-up billing
Enterprise Plus adds a true-up license that lets usage exceed the purchased number of build agents. The overage is billed quarterly on monthly peak usage, so a short spike in agent count can set the charge for the whole quarter. The tier also adds a staging server license and an assigned customer success engineer. Ask how monthly peaks are measured, what the true-up rate is per agent, and whether unused agents are credited, then compare that with buying extra agents in advance.
Capabilities side by side
This table compares how GitHub Actions and TeamCity define, store, run and limit CI work, and which features depend on the plan. Read the GitHub column for hosted limits and minute quotas, and the TeamCity column for licensing thresholds and what runs on your own servers. The main takeaway: TeamCity's limits are set by your license and agent count, while GitHub's are set by its service and plan, so confirm open items with each vendor before you size a migration.
| Capability | GitHub Actions | TeamCity |
|---|---|---|
| Workflow definition format | YAML workflow files in .github/workflows that call marketplace actions | Build configurations set in the UI or as Kotlin DSL or XML; confirm YAML support for Pipelines |
| Configuration as code in the repository | Workflow files live in the repository by default | With versioned settings on, a .teamcity directory with settings.kts is committed to the repository |
| Hosted and self-hosted runners | Hosted runners billed per minute beyond quota; self-hosted runner usage free, with a planned charge postponed | Build agents you run; confirm whether JetBrains offers cloud agents and how they are licensed |
| Job time and concurrency limits | Up to 6 hours per hosted job and 5 days per self-hosted job; 20, 60 or 500 concurrent hosted jobs by plan | New builds are blocked when agent licenses are exceeded; confirm build duration and queue limits |
| Workflow run limits | 35-day maximum per workflow run; logs and artifacts kept 90 days by default | Retention is set on your server; confirm run history and artifact retention options |
| Enterprise Server or self-managed options | GitHub Enterprise Server supports only self-hosted runners, needs external blob storage and at least 8 vCPU and 64 GB memory | Server you install and operate; Professional is free within limits, Enterprise needs a license key |
| Pipelines and build chains | Each workflow file defines its own triggers and jobs | Build Chains are the established model; Pipelines arrived in 2025.07 and cover fewer use cases |
| Features that depend on the plan | Included minutes and storage vary by plan, such as 2,000 minutes on Free and 3,000 on Team for private repositories | Professional excludes paid integrations such as AI Assistant and offers community support; Enterprise adds priority support |
Where data sits and what leaving involves
Where your build data is hosted, how long it stays, and what you can take with you decide how hard a move from GitHub Actions to TeamCity will be. These cards cover hosting options, retention windows, secrets that GitHub will not export, the TeamCity files that live in your repository and the agent limits that can stop builds. The last card lists what to confirm in writing with GitHub and JetBrains before you set a migration date.
GitHub data location options
GitHub Enterprise Cloud with data residency runs on GHE.com in EU, Australia, US and Japan regions, so the hosting region for your organization is a deliberate choice. GitHub Enterprise Server is the other path: you install it on your own infrastructure and keep logs, artifacts and runners inside your network. Enterprise Server needs external blob storage for Actions and supports only self-hosted runners, so plan that stack before you commit. Confirm with GitHub which region holds logs, artifacts and caches for your plan, and whether support access crosses regions.
Data residency docsLog and artifact retention
GitHub stores Actions build logs and artifacts for 90 days by default. Retention can be set between 1 and 90 days for public repositories and between 1 and 400 days for private repositories, so repository visibility sets your ceiling. Anything older than the window is gone, which turns the export into a task with a deadline. Before a migration, export the run history you need for audits or incident reviews. For TeamCity, confirm how long logs, artifacts and build history stay on your server before you schedule the move.
Actions settings docsSecrets the API never returns
GitHub's REST API lists Actions secrets with their names and timestamps, but never their values. A move off GitHub Actions therefore starts with re-creating every secret in the new system, and someone with the original values has to supply them. Build the inventory from the API listing first, then map each secret to its owner, environment and deploy target. Check whether each secret is set at repository or organization level, because scope changes how you recreate it. Treat the values as a handover from the people who hold them, and plan a rotation for any secret shared across projects.
Actions secrets APITeamCity settings as code
TeamCity can store project settings in version control as Kotlin DSL or XML. With versioned settings enabled, it commits a .teamcity settings directory holding files such as settings.kts and pom.xml into your repository. This gives you a reviewable history of build configuration, and the files stay in your repository if you leave TeamCity. They are still written for TeamCity, so moving to another CI engine means rewriting the build logic. Confirm with JetBrains which parts of your configuration, such as credentials and agent pools, stay outside these files.
Kotlin DSL docsAgent licenses can block builds
TeamCity agent licenses limit how many build agents you can authorize, whether local, remote, bare-metal or cloud, and the licenses are not tied to specific machines. When you exceed the limit, TeamCity shows a warning and blocks new builds from starting. Professional is free without a license key, but it includes 3 build agents and is capped at 100 build configurations and 10 pipelines, including archived ones. Enterprise Plus adds a true-up license that allows usage above the purchased agent count, billed quarterly on monthly peak usage. Measure your peak concurrent builds before each renewal.
Licensing policyConfirm before you leave
Leaving either product depends on terms that public documentation does not settle for your contract. With JetBrains, confirm how long TeamCity keeps build logs, artifacts and history on your server, whether secret values can be exported or must be re-entered, and how true-up billing applies to your agent count. With GitHub, confirm the retention setting for your plan, the current billing status of self-hosted runners and which region holds your data. Get written answers before you set a migration date.
How to decide between the two products and the self-hosted routes
The chart starts with where code and reviews live today. If the forge will move, the CI choice follows the forge: GitLab CI/CD for a GitLab forge, or Woodpecker CI for a Gitea or Forgejo forge. If repositories stay on GitHub, ask whether builds may run in the cloud. Cloud builds keep GitHub Actions. Builds that must stay inside your network lead to a question about a dedicated build server. If you accept per agent licensing, TeamCity fits. If you want to avoid it, Jenkins or Woodpecker CI fits. Check agent counts and license terms before you choose.
Decision path from forge location to build server and CI product.
When a self-hosted open-source option fits better
Choose Jenkins when your pipelines depend on plugins that TeamCity does not provide, or when your engineers already write Jenkinsfile pipelines. Jenkins is distributed under the MIT License and has more than 2,300 plugins, so the software itself carries no license fee, and your spend is the servers, agents and people who run it. It suits a team that can own a controller and a pool of build agents and is comfortable managing plugin versions. Before you commit, list each TeamCity build step and confirm that a maintained plugin or a plain shell step covers it, because every gap becomes a script your team owns. Plan around the LTS line too, since Jenkins picks a new LTS baseline every 12 weeks.
Choose Woodpecker CI when the code should stay on GitHub but builds must run on infrastructure you control. It connects to GitHub as a forge, so repositories, pull requests and status checks stay where they are while pipelines run on agents you operate. It fits a team that is comfortable writing container-step YAML and wrapping each tool in a container. Choose GitLab CI/CD when you are willing to move the forge too, because repositories, merge requests and pipelines then live on one self-managed instance. The GitLab Free tier has no license fee, and the Premium tier adds the advanced CI/CD and priority support listed on the GitLab pricing page. Pick GitLab when one system of record for code and builds matters more to you than keeping GitHub.
Every option moves work from the vendor to your team. Jenkins needs a controller, agents, plugin updates and a plan for its LTS releases, which arrive in three four-week cycles per baseline, and its Java support windows decide when the controller runtime must change, with Java 21 planned to end support in September 2027. Self-managed GitLab ships a minor release on the third Thursday of each month and patch releases twice a month, so an upgrade calendar and a test environment are part of the job. Translating TeamCity settings is a one-time task that will take review time. If versioned settings are on, start from the .teamcity Kotlin DSL files, rebuild each build chain as a Jenkinsfile, .gitlab-ci.yml or Woodpecker YAML, and verify that TeamCity Pipelines covers each use case before retiring a Build Chain. Staff time is the recurring cost, so ask any partner to name the engineers who will own upgrades, agents and pipeline maintenance.
What a move between the two products involves
The sequence moves CI from GitHub Actions to TeamCity while keeping logs, artifacts and credentials under your control at each stage. It ends with a documented cutover and a retired GitHub Actions setup. The scope and timeline are agreed in writing before work starts.
Inventory build configurations, pipelines and build chains
List every GitHub Actions workflow, reusable workflow, environment, runner and scheduled trigger in the repositories in scope. Map each one to the TeamCity object that will carry it: a build configuration, a Pipeline or a build chain. Note which secrets, artifacts and deployment targets each workflow uses. Your engineers and the people who run deployments should review the list together. The step is done when every workflow has a named target and an owner, and the list is signed off by the people who run those deployments.
Check Pipelines coverage against build chains
JetBrains says TeamCity Pipelines, which arrived in version 2025.07, does not yet support as many use cases as the older Build Chains. For each workflow, test whether Pipelines covers its triggers, dependencies and deployment steps. Where it does not, plan to use a build chain instead. Check the edition too: TeamCity Professional caps build configurations and pipelines at 100 and 10, including archived ones, while TeamCity Enterprise removes those limits and requires a license key. The step is done when each workflow has a confirmed target and the licensing choice is recorded.
Export GitHub logs and artifacts before retention expires
GitHub keeps Actions logs and artifacts for 90 days by default, and the retention period set in repository settings can be changed within the limits GitHub documents. Before any cutover, export the run history and artifacts you need for audit or rollback through the REST API or the GitHub CLI. Open a sample of the exported files and check that they match the run IDs. Data that ages out cannot be recovered, so start this early. Record where each export is stored and who can read it. The step is done when the samples check out and your security team approves the storage location.
Re-create secrets in TeamCity
GitHub's REST API documentation for Actions secrets returns secret names and timestamps but never their values, so secrets cannot be exported and must be re-created in TeamCity. Ask the owner of each credential to issue or retrieve it, then store it in TeamCity's password parameters or in your secrets manager. Scope each value to the build configurations that need it. Rotate any credential that was shared broadly or cannot be traced to an owner. The step is done when every secret in the inventory has a stored value, a named owner and a test run that uses it successfully.
Migrate workflows and build agents
Translate each workflow into the TeamCity build configuration or Pipeline chosen in the earlier steps. Replace marketplace actions with TeamCity steps or plugins where a direct equivalent exists, and flag the ones that do not. Decide whether project settings live in the UI or in version control as Kotlin DSL, since TeamCity's Kotlin DSL documentation explains how versioned settings write a .teamcity directory to the repository. Install build agents on infrastructure you control and confirm the agent count against your license. The step is done when each migrated build passes on a test branch and produces its expected artifacts.
Run both systems in parallel
Keep GitHub Actions running alongside TeamCity for the period agreed in the written scope, so each pipeline builds on both systems. Compare test results, artifact checksums, deployment logs and failure alerts for the same commits. Record every difference and fix it before cutover. Confirm that agents and runners have enough capacity for both loads at once, because TeamCity blocks new builds when the agent limit is exceeded. The step is done when outputs match for the agreed scope and any open differences are either resolved or accepted in writing by their owners.
Cut over production deployments to TeamCity
Point production deployments, branch protection rules and required status checks at TeamCity, then turn off the GitHub Actions workflows they replace. Confirm that the rollback path works before any old runners are removed. Keep the exported logs, artifacts and inventory as the record of the old system. The step is done when no production build runs on GitHub Actions, the rollback path has been tested and the cutover record is signed off by the owners of each pipeline.
Retire the old GitHub Actions setup
Once the retention window and any audit requirements for the old data are met, delete the retired workflows and remove the runners that only GitHub Actions used. Revoke credentials that only the old setup needed, and confirm that no scheduled trigger still fires. Store the final inventory, export index and handover notes where your compliance team can find them. The step is done when the old workflows, runners and credentials are removed or documented as retained, and the handover is accepted by the platform owners.
Questions buyers ask before choosing or hiring help
What does GitHub Actions cost to run for a small team?
For a small team, the bill is mostly seats and hosted minutes, and self-hosted runners carry an open question. GitHub's pricing page lists Team at $4 and Enterprise at $21 per user per month. Private repositories include 3,000 minutes and 2 GB of artifact storage per month on Team. Minutes beyond that are billed per minute by runner size, for example $0.002 for a Linux 1-core runner. Artifact storage beyond the included amount costs $0.25 per GB per month. Under current billing documentation, self-hosted runner usage is free, but GitHub postponed a planned $0.002 per minute charge for self-hosted runners and gave no new date. Costs rise with seats, hosted minutes, runner size, artifact retention and cache size. Ask for current rates and the status of the self-hosted charge in writing.
Does TeamCity Professional cover our builds for free?
TeamCity Professional covers small setups at no cost, as long as your counts stay under its limits. It needs no license key and is capped at 100 build configurations and 10 pipelines, including archived ones, with 3 build agents included. Each additional agent license raises the build configuration limit by 10. Professional includes most Enterprise features, but paid integrations such as AI Assistant are excluded, and support is limited to the community forum and public issue tracker. Enterprise requires a license key, removes the configuration and pipeline limits, and adds one year of upgrades and priority support. Count your build configurations, pipelines and archived items before answering, because archived entries count toward the cap. Get the Enterprise quote from JetBrains, based on your agent count.
How long does it take to move CI work off TeamCity?
The duration depends on how much TeamCity configuration you have, so no single timeline fits every team. The main drivers are the number of build configurations and pipelines, how many use build chains, custom plugins and agent fleets, and whether settings live in Kotlin DSL or XML under version control. JetBrains says TeamCity Pipelines arrived in version 2025.07 and does not yet support as many use cases as the older Build Chains, so chains with complex dependencies need more rebuilding and testing. Versioned settings give you a readable inventory to start from. Secrets must be re-created by hand, and build history must be exported before retention expires. DeployOpen agrees a fixed scope and timeline in writing before work starts, so ask for a plan built on these counts before you set a date.
What does our team have to provide during a CI migration?
Your team supplies the access, decisions and knowledge that no outside party has. Expect to provide admin access to the current CI server and the code forge, an inventory of projects, agents, build chains and deploy targets, and a named owner for each secret who can re-enter its value. GitHub's REST API returns Actions secret names and timestamps but not their values, so every secret must be re-created in the new system. Engineers need to review converted pipelines, approve deploy steps and test rollback. Security or compliance staff should confirm where logs, artifacts and runners will live. Effort grows with the number of projects, custom plugins and environments that need approvals. Ask any provider to list these inputs in the written scope, with an owner for each.
Can our own engineers migrate TeamCity pipelines without outside help?
Yes, a team with CI experience can often do this in-house, especially for a small number of projects. The deciding factors are how much logic lives in custom plugins or build chains, how many agents and environments need rebuilding, and whether someone on the team owns the target platform's runners and secrets. In-house work keeps the cost in staff time and avoids an external contract, but your engineers then carry the testing, the secret re-creation and the evidence that compliance reviewers ask for. DeployOpen works as an implementation partner under a fixed scope agreed in writing, and can take on defined parts of the work, such as pipeline conversion, hardening or documentation, while your team keeps the decisions. Compare both options against the same written inventory of projects and dependencies.
Where are CI logs and artifacts kept, and for how long?
On hosted CI, the vendor holds logs and artifacts for a set retention period, so export them before that window closes. GitHub Actions stores build logs and artifacts for 90 days by default. Retention can be set between 1 and 90 days for public repositories and between 1 and 400 days for private repositories. Artifact storage beyond the included amount is billed at $0.25 per GB per month. Check where your TeamCity installation keeps build history and artifacts, since that depends on how you deploy and configure it, and confirm the answer with JetBrains documentation. With a self-hosted target such as Jenkins or Woodpecker CI, you choose the storage location, backup schedule and retention period. Whatever the target, move run history with the project so your audit trail survives the change.
Does moving away from GitHub Actions or TeamCity create lock-in?
Lock-in comes mostly from secrets, run history and platform-specific syntax, and the code itself is rarely the trap. Workflow YAML sits in your repository and can be read and adapted, and TeamCity can keep project settings in version control as Kotlin DSL or XML. Secrets are the hard part: GitHub's REST API lists Actions secret names without values, so they must be re-created in any new system. Syntax lock-in is smaller than it may look, because Gitea Actions is designed to be compatible with GitHub Actions wherever possible and Forgejo Actions is designed to be familiar to GitHub Actions users, though the compatibility is not identical. Licensing is a separate risk, since GitHub's postponed self-hosted runner charge showed that metering can change. Ask every vendor for a written exit plan and test it on one project first.
How DeployOpen helps you choose and move
DeployOpen treats the GitHub Actions vs TeamCity decision as a scoped engagement. We plan the move around your forge, runners, build agents, secrets and build history, then implement and harden the chosen self-hosted CI platform in your own infrastructure. Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts.
How we scope
- The written scope lists the repositories, pipelines, agents and deployment targets included in the move.
- GitHub's REST API returns secret names without values, so each secret is inventoried for re-creation.
- Build history and artifacts get an export plan, because GitHub keeps logs and artifacts 90 days by default.
How we build
- Pipeline definitions are rewritten for the target engine, with TeamCity Kotlin DSL settings reviewed where they apply.
- Runners or build agents are provisioned in your own cloud, data center or air-gapped network.
- Hardening covers runner isolation, credential handling, access control and audit logging for the CI platform.
How we hand over
- Documentation covers pipeline definitions, runner setup, secret handling and the restore steps your team needs.
- Backup and upgrade procedures are written down so your team can run them after handover.
- Evidence for compliance reviewers is prepared, though audit reports and certifications come from independent assessors.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover CI platform upgrades, runner maintenance and periodic security testing of the platform.
- Ask quotes to separate one-time migration work from recurring retainer work.

