Skip to content

(CI) Can't use matrix variable in jobs.<job_id>.name #28207

Open
@TheBrokenRail

Description

@TheBrokenRail

Description

I'm using a matrix in my Gitea Actions workflow, and I'm using matrix variables in the job's name, so it looks pretty in the UI. But Gitea doesn't substitute the variables.

jobs:
    build:
        strategy:
            fail-fast: false
            matrix:
                mode:
                  - Client
                  - Server
                arch:
                  - AMD64
                  - ARM64
                  - ARMHF
        name: ${{ matrix.mode }} (${{ matrix.arch }})

Here's how I expected to work: https://futurestud.io/tutorials/github-actions-customize-the-job-name

Gitea Version

v1.21.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Screenshot from 2023-11-24 18-43-28

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker

Database

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions