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

Open
opened 2025-11-02 09:57:24 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @TheBrokenRail on GitHub (Nov 24, 2023).

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

Originally created by @TheBrokenRail on GitHub (Nov 24, 2023). ### 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. ```yaml 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](https://github.com/go-gitea/gitea/assets/17478432/c25dbe3e-f93f-4f14-a0cc-66683be32f22) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Docker ### Database None
GiteaMirror added the topic/gitea-actionstype/bug labels 2025-11-02 09:57:24 -06:00
Author
Owner

@wolfogre commented on GitHub (Nov 27, 2023):

Related to #25179

@wolfogre commented on GitHub (Nov 27, 2023): Related to #25179
Author
Owner

@lunny commented on GitHub (Apr 4, 2024):

Should be fixed by https://gitea.com/gitea/act/pulls/106

@lunny commented on GitHub (Apr 4, 2024): Should be fixed by https://gitea.com/gitea/act/pulls/106
Author
Owner

@kroltan commented on GitHub (Dec 7, 2024):

Sorry to ping this issue, couldn't find a changelog for act_runner.

Is this available in any version? Gitea 1.22.4 / act_runner 0.2.11, I still see non interpolated text in the job names:

2024-12-07_10-25

@kroltan commented on GitHub (Dec 7, 2024): Sorry to ping this issue, couldn't find a changelog for act_runner. Is this available in any version? Gitea 1.22.4 / act_runner 0.2.11, I still see non interpolated text in the job names: ![2024-12-07_10-25](https://github.com/user-attachments/assets/e1b990c6-1017-4b99-96fa-2d8e8643adb2)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12082