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

fix: cli matrix filter #311

Merged
merged 4 commits into from
Sep 21, 2021
Merged

Conversation

sam-tang-sw
Copy link
Contributor

fix using when (Conditional Execution) with matrix is not working.

Example:

pipeline:
  composer-install:
    image: ${PHP_IMAGE}
    commands:
      - php -v
    when:
      matrix:
        PHP_IMAGE: php:7.3.13-fpm

matrix:
  PHP_IMAGE:
    - php:7.3.13-fpm

@6543 6543 added the bug Something isn't working label Sep 17, 2021
@6543 6543 added this to the 0.15.0 milestone Sep 17, 2021
@6543 6543 enabled auto-merge (squash) September 21, 2021 02:19
@6543 6543 merged commit d802fdb into woodpecker-ci:master Sep 21, 2021
@6543 6543 added the backport indicates that this pull needs/has a backport label Sep 21, 2021
6543 pushed a commit that referenced this pull request Sep 21, 2021
Using `when` (Conditional Execution) with `matrix` did not work, fix it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport indicates that this pull needs/has a backport bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants