Offer `split()` expression function as a pair for `join()`
See original GitHub issueDescribe the enhancement
Provide an expression function split()
as a pair to join()
Code Snippet
name: build
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: ${{split(github.event.inputs.os, ' ')}}
steps:
- run: build
Additional information This is based on PowerDNS/pdns#11960 and would greatly simplify: https://github.com/PowerDNS/pdns/blob/d41e087ca092ff60f9fc79e177f8a61bfdffd1f9/.github/workflows/builder-dispatch.yml#L38-L55
NOTE: if the feature request has been agreed upon then the assignee will create an ADR. See docs/adrs/README.md
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Python program to split and join a string
Python String join() method is a string method and returns a string in which the elements of the sequence have been joined by...
Read more >collapse and (lambda s: " ".join(s.split())) or (lambda s: s)
split ())) is a function which, when called, will return a string. If you need a function (i.e., if that object is something...
Read more >Splitting, Concatenating, and Joining Strings in Python
In this beginner-friendly article, you'll learn some of the most fundamental string operations: splitting, concatenating, and joining.
Read more >How to do an Impossible Join with String Split
An impossible join uses STRING_SPLIT() to break up column values into individual words which you can then join to another table.
Read more >Python String split() and join() Methods – Explained with ...
In essence, the join() method joins all items in <iterable> using <sep> as the separator. ▷ And it's time for examples. Python join()...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Understood - at that point the user might as well type actual JSON I think.
act
is an alternate implementation ofrunner
. I definitely want it here (and then it’d have to be implemented there).