Skip to content

Use matrix variable in action step name #26307

Open
@TheZoker

Description

@TheZoker

Feature Description

I want to use the a matrix value within the name of a step.
Something like this:

jobs:
  build:
    runs-on: ubuntu-latest
    container:
      image: catthehacker/ubuntu:act-latest
    strategy:
      matrix:
        include:
          - docker-id: "example-a"
          - docker-id: "example-b"
    steps:
      - name: Build and push Docker image ${{ matrix.docker-id }}
        ...

Currently the variable is not replaced with the value and is just displayed as is.

As reference: Github supports using a matrix variable name within the step name.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/gitea-actionsrelated to the actions of Giteatype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions