mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #909] Issue: matrix example works in github but not in act #540
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#540
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nitrocode on GitHub (Dec 2, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/909
System information
act: Start image=catthehacker/ubuntu:act-latestactversion: act version 0.2.24Expected behaviour
Run job1 and then run job2
Actual behaviour
Runs job1
Workflow and/or repository
This workflow is taken from this example https://docs.github.com/en/actions/learn-github-actions/expressions#example-returning-a-json-object
workflow
Steps to reproduce
actoutputLog
@souravsaraf123 commented on GitHub (Dec 4, 2021):
This matrix feature would be really useful. Consider this as +1.
@freearhey commented on GitHub (Dec 12, 2021):
Here is another example:
https://stackoverflow.com/a/62953566
Log
And here is an example that currently gives the correct result:
Log
@catthehacker commented on GitHub (Dec 12, 2021):
Duplicate of #769
@grigorye commented on GitHub (Jun 2, 2022):
@freearhey While it indeed works as a workaround (thanks a lot for figuring it out!), empty arrays break "real" GitHub action runner with "The workflow is not valid. ... Matrix vector xxx does not contain any values" error. Do you have any idea of a workaround?
interface{}instead ofmap[string]...#1569