Skip to content

What are glob patterns and how to use them? #30

Answered by Kir-Antipov
NebelNidas asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! :)

Can we get a more comprehensive explanation of the file selector syntax?

Please, take a look at the Inputs section of README a little bit more carefully:

Name Description Default value Examples
files A glob of the file(s) to upload build/libs/*.jar
files-primary A glob of the primary files to upload build/libs/!(*-@(dev|sources)).jar build/libs/!(*-@(dev|sources)).jar
files-secondary A glob of the secondary files to upload build/libs/*-@(dev|sources).jar build/libs/*-@(dev|sources).jar

It clearly states that files, files-primary, and files-secondary inputs use glob patterns. Of course, I did not invent a wheel yet another pattern language :)


so an inclusive cond…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kir-Antipov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14 on September 06, 2022 17:36.