Comments (22)
This is so cool, but I do have a related question. How do you access the artifact programmatically? I can't see it as part of the check-run
. I have another action where I would like to access the artifact from a specific run based on the git sha. The reason be is that we are using chat ops, so we want to build it on check-in, and then access the artifact when we say that we want to deploy a specific branch.
from upload-artifact.
Is there a way to get Artifact URL from a program? Or are you planning to publish the API?
from upload-artifact.
In the top right corner of a workflow run, once the run is over, if you used this action, there will be a Artifacts
dropdown which you can download items from. Here's a screenshot of what it looks like
from upload-artifact.
Seems like it doesn't work to download between workflows :(, so back at square 1.
from upload-artifact.
thanks @warrenbuckley
from upload-artifact.
@os6sense, haven't seen that. Does that works between different workflows? Have to try I guess.
from upload-artifact.
@mastoj we don't support download artifact from a different check-run yet, it's on our backlog.
from upload-artifact.
it's uploaded to GitHub server as @lannonbr point out in the screenshot
from upload-artifact.
@TingluoHuang maybe you can answer ⬆️ ?
from upload-artifact.
What I've done so far is GET on the check-suites
but that doesn't give me any information on where the artifacts are.
from upload-artifact.
@mastoj I'm assuming we use the associated https://github.com/actions/download-artifact project but it would be nice to have more detail :)
from upload-artifact.
In the top right corner of a workflow run, once the run is over, if you used this action, there will be a
Artifacts
dropdown which you can download items from. Here's a screenshot of what it looks like
Can I suggest the readme.md is updated with this info as its a bit sparse, as I had no clue what this done or what or where the file was going to upload to please :)
from upload-artifact.
@warrenbuckley we accept PR. 😄
from upload-artifact.
@TingluoHuang here you go - #4 😄
from upload-artifact.
i am testing this here https://github.com/Girchi/girchi-com-frontend/commit/3339c23fec76fc62aa8baf7618d6264eade05ccb/checks
it seems to have uploaded successfully but i don't see download link anywhere...
this is what i see:
from upload-artifact.
I was confused by this as well. Looks like it only shows on this view for some reason: https://github.com/Girchi/girchi-com-frontend/pull/2/checks
I'm uploading on a Release trigger (not a PR) so I'm not able to see the uploads as far as I can tell. It would be AWESOME if the uploads when directly onto the release that triggered the action.
from upload-artifact.
Unfortunately, I can't seem to find the "Artifacts" dropdown, no matter which view I access the check run from.
EDIT: Looks like we're running into this bug: https://github.community/t5/GitHub-Actions/Passing-builds-not-completing/m-p/34968
from upload-artifact.
👋 Hi all, sorry for the lack of response to this issue.
Where does the upload go to?
As answered above, artifacts will appear in the top-right when looking at a workflow run. Note that a run must be completed before artifacts show up.
How do you access the artifact programmatically?
Is there a way to get Artifact URL from a program? Or are you planning to publish the API?
You can access artifacts via the Actions API, see https://developer.github.com/v3/actions/artifacts/
Just note that the download URL will be short-lived (~a few minutes at most) and allow anonymous access for that time period.
Please let me know if there are any more questions.
from upload-artifact.
@joshmgross would it be possible to make that url available to subsequent actions somehow?
from upload-artifact.
@ZacSweers That's actions/download-artifact#3
from upload-artifact.
@teohhanhui I don't see any actual answers in that thread. It seems like starting with having some sort of accessible reference to the previously uploaded artifact on this action would be a good start.
from upload-artifact.
@ZacSweers I believe @teohhanhui meant that actions/download-artifact#3 is tracking that feature.
Going to close out this issue, please open issues if you have any further questions (this will make it easier for others to find those questions and answers)
from upload-artifact.
Related Issues (20)
- [bug] v4 hangs uploading from mac runners HOT 11
- [bug] Default Ubuntu 22.04 runner: getaddrinfo ENOTFOUND productionresultssa3.blob.core.windows.net HOT 2
- Error: Failed to get backend IDs: The provided JWT token is invalid and/or missing claims HOT 1
- [feat req] Add retries HOT 1
- [bug] v4: Duplicate artifacts after FinalizeArtifact timeout
- Warning: No files were found with the provided HOT 1
- [bug] name config is not applied HOT 1
- [feat req] - encrypted artifact
- [bug] crash on windows HOT 2
- [feat req] GHES Support HOT 1
- [feat req] how to upload each zipped volumn in separate artifacts.
- [docs] Really needs to mention that it does NOT work from the `working-directory` of the job HOT 4
- @v4 breaks workflows when using unprivileged containers HOT 3
- [bug] v4.3.1: Unexpected token '<', "<!DOCTYPE "... is not valid JSON HOT 9
- [feat req] support colon in file names HOT 1
- Add option to include explicit directory entries [feat req] HOT 1
- [feat req] merging of uploads ala v3 HOT 3
- Delete Artifact Action HOT 1
- #331
- [bug] Request failures in v4 on ECONNRESET and 403 Forbidden. HOT 4
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 upload-artifact.