Comments (7)
😂 it worked perfectly, thanks!
from github-release.
Since I can't control how GH actions inputs are processed, I can only process them the same way #3 happens - by using an ex: RELEASE_FILES
env variable.
What do you think?
from github-release.
I didn't see your message on this, sorry.
Let me give you more clear inside on this since I believe we are on different pages.
I want to be able to add a suffix to files.
so;
if input is
files: >
./artifacts/ArtifactStagingDirectory
it should use the actual filenames
files: >
artifacts: ./artifacts/ArtifactStagingDirectory
Should use artifacts
as the name.
However, if I set something like the RELEASE_FILES_SUFFIX environment variable, it should add those to the name I already set.
files: >
artifacts-${RELEASE_FILES_SUFFIX}: ./artifacts/ArtifactStagingDirectory
Please let me know if you need further detail
from github-release.
I've released a new version (v1.0.1
) that exposes RELEASE_FILES
variable, so you can just set it to whatever is needed.
from github-release.
let me check, and I will get back to you
from github-release.
Couldn't make this one work, due to the multiline syntax :( Can you give me an example of how to put multiple-lines into a variable? Remember Windows guy here :) Thank you very much!
files: >
artifacts-${RELEASE_TAG}:./artifacts/ArtifactStagingDirectory
./artifacts/NuGetPackages/*.nupkg
from github-release.
It's a space-separated list ;). Not new-line-separated one.
>
symbol in yaml does just that. Ignores all newlines that follow. You can play with it here: https://yaml-multiline.info/
from github-release.
Related Issues (20)
- 'body' variable not passed as string literal HOT 3
- Body fails when it contains double quotes. HOT 8
- Parameter to keep X oldest releases and delete the rest HOT 3
- v3.0
- Support cross platform HOT 4
- [Feature] upadate body from path
- Fail to run under windows HOT 4
- Add extra option to the compression options
- pass environment variables as file HOT 2
- Impossible to update draft release
- Escape newlines in "body" not work as intended HOT 1
- Unable to override assets on existing release HOT 3
- does not trigger workflows with "on release" action HOT 1
- Ignore failure to delete previous release artifacts HOT 8
- Intermitten SSL issues
- drafts no longer overriden HOT 1
- Spaces in file names cases upload step to not work. HOT 1
- Do globs work in `files`?
- Add support for regular zip HOT 5
- Container action is only supported on Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-release.