build-arm workflow (ungoogled-software/ungoogled-chromium-windows)
The build-arm workflow from ungoogled-software/ungoogled-chromium-windows, explained and optimized by Latchkey.
A
CI health: A - excellent
Run this on Latchkey for self-healing, caching, and up to 58% lower cost.
Grade your own workflow free or run it on Latchkey →What it does
This is the build-arm workflow from the ungoogled-software/ungoogled-chromium-windows repository, a real project running GitHub Actions. It is shown here with attribution under its BSD-3-Clause license.
Below, Latchkey shows a faster, safer version produced by its optimization engine.
The workflow
workflow (.yml)
name: build-arm
on:
workflow_dispatch:
push:
tags:
- '*'
permissions:
contents: read
concurrency:
group: build-arm-${{ github.ref }}
cancel-in-progress: false
jobs:
build:
uses: ./.github/workflows/reusable-build.yml
with:
arm: true
The same workflow, on Latchkey
Removes redundant runs and caps runaway jobs. Added and changed lines are highlighted.
name: build-arm on: workflow_dispatch: push: tags: - '*' permissions: contents: read concurrency: group: build-arm-${{ github.ref }} cancel-in-progress: false jobs: build: timeout-minutes: 30 uses: ./.github/workflows/reusable-build.yml with: arm: true
What changed
- Add a job timeout so a hung step cannot burn hours of runner time.
This workflow runs 1 job per trigger. On Latchkey the same minutes cost up to 58% less than GitHub-hosted, with zero queue time.