Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TheBrokenRail opened this issue Nov 24, 2023 · 2 comments
Open

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

TheBrokenRail opened this issue Nov 24, 2023 · 2 comments
Labels
topic/gitea-actions related to the actions of Gitea type/bug

Comments

@TheBrokenRail
Copy link
Contributor

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

@lng2020 lng2020 added the topic/gitea-actions related to the actions of Gitea label Nov 25, 2023
@wolfogre
Copy link
Member

Related to #25179

@lunny
Copy link
Member

lunny commented Apr 4, 2024

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

TKaxv-7S pushed a commit to TKaxv-7S/gitea-act that referenced this issue Apr 8, 2024
Fix go-gitea/gitea#28207

Reviewed-on: https://gitea.com/gitea/act/pulls/106
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: Zettat123 <[email protected]>
Co-committed-by: Zettat123 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/gitea-actions related to the actions of Gitea type/bug
Projects
None yet
Development

No branches or pull requests

4 participants