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

How do I get the run number? #6

Closed
warrenbuckley opened this issue Aug 21, 2019 · 4 comments
Closed

How do I get the run number? #6

warrenbuckley opened this issue Aug 21, 2019 · 4 comments

Comments

@warrenbuckley
Copy link
Contributor

I am creating my own actions as NodeJS/JavaScript and I am wondering how do I get the build run number, so I can use it to append/amend version numbers for artefacts.

Uploading artifact 'package-artifacts' from 'd:\a\Take-Out-The-Trash\Take-Out-The-Trash\output' for run #45

As this repo does not show the source for this as its dealt with the plugin publish
actions/toolkit#69

Can you give me a pointer on where we can use this information please
/cc @TingluoHuang

@warrenbuckley
Copy link
Contributor Author

Any updates or inputs on this at all please?

/cc @chrispat @damccorm

@chrispat
Copy link
Member

chrispat commented Sep 5, 2019

@warrenbuckley currently we do not have a run number than you can use as a reference externally. But this is something we need to add.

@xt0rted
Copy link

xt0rted commented Sep 5, 2019

I've been using the build number in my versions numbers (yyyy.m.d.build), so far this is the only thing missing that's stopping me from moving all of my builds over to actions. Is this value what you're talking about @chrispat?

@warrenbuckley
Copy link
Contributor Author

@chrispat I will close this issue & can we move the discussion over into this one here in the actions toolkit repo - actions/toolkit#65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants