upload-artifact | uploads artifacts from your workflow | BPM library
kandi X-RAY | upload-artifact Summary
kandi X-RAY | upload-artifact Summary
This uploads artifacts from your workflow allowing you to share data between jobs and store data once a workflow is complete.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of upload-artifact
upload-artifact Key Features
upload-artifact Examples and Code Snippets
Community Discussions
Trending Discussions on upload-artifact
QUESTION
I'm using the github actions release-action@v1
in my workflow, and it's not generating artifacts after signing the app and building the apk and app bundle.
I created a tag before pushing to the repository, but the action is still not working.
I think it's because am not passing a commit
to the workflow.
What do I need to do there?
Error: ...ANSWER
Answered 2022-Mar-15 at 12:47The action documentation states that:
You must provide a tag either via the action input or the git ref (i.e push / create a tag). If you do not provide a tag the action will fail.
Moreover, the tag input states:
tag: An optional tag for the release. If this is omitted the git ref will be used (if it is a tag).
Your issue is probably related to the push
trigger you set in your workflow file, as it will not generate any git ref tag. And as you're not using the action tag input, the action can't identify the tag to use to generate the release.
You have 2 options here:
- Remove the on push trigger. For the workflow, and consequently the action, only run if a tag is present.
- Add the tag input to the action with the
artifacts
and thetoken
inputs you're already using.
QUESTION
UPDATE / SOLUTION Per Sytech's answer....
Did not realize that the build was in Ubuntu which has all the packages but when Azure deploys it to a Linux container, the needed packages were missing.
Like in other questions/answers just add these installs to a startup script that Azure will use ex.
...ANSWER
Answered 2022-Mar-08 at 22:42Tkinter is already included in the ubuntu-latest
image. No particular setup is needed.
QUESTION
i work on a project and want to make a github workflow , so it can deplay to staging automatically.
this is the workflow code :
...ANSWER
Answered 2022-Mar-02 at 03:49Module not found: Error: Can't resolve '../../../dist/@core/components/feather-icon/FeatherIcon.vue' in 'pages/Artisan/detail'
QUESTION
I have the following GitHub actions workflow for a C# (.net 6) project that works fine with ubuntu-latest. But for some reason we need it to use windows-latest, it breaks with the error (the error after yaml workflow).
Yaml workflow:
...ANSWER
Answered 2022-Feb-26 at 17:06Don't rely on:
QUESTION
ANSWER
Answered 2022-Feb-22 at 07:38Check first:
- that your gradlew clean is executed from the root folder of your project,
- and that your
settings.gradle
is not in your.gitignore
in that same repository. - The root folder is
MyApplication
, notMy Application
.
You can add a ./MyApplication/gradlew tasks
to see how gradle is configured.
QUESTION
Hey so I have this github action for saving a package-lock and package.json file like so:
...ANSWER
Answered 2021-Aug-25 at 22:18For this to work, you will need sudo without password to be allowed.
sudo
prints this error message, if it tries to prompt for a password but can't.
QUESTION
I am deploying a symfony application to an Azure Linux PHP 7.4 web app. I used the approach suggested in How to archive files in artifact for github workflow actions in order to fix this warning? to streamline the deployment.
So everything is working well, but occasionally the site fails. I tracked it down to a stale cache. To fix the problem I have to SSH into the web app and clear the cache using
...ANSWER
Answered 2022-Feb-03 at 06:12Based on the above problem statement, we understood that you are looking to clear the web app cache post the deployment.
In order to achieve this, you can add an app settings WEBSITE_LOCAL_CACHE_OPTION=Always which help you in clearing the local cache of the web app.
for any App Service, its related contents (code files, resources etc.) are being hosted in a Shared Content Folder in order to provision all the features of the App Service like Load Balancing etc. So, if there are 2 VMs configure for Load Balancing then there would just one shared location where all the content of the App Service is hosted.
When these Web Apps refer to the Content Folder, there might be chances of Latency issues (although, Azure takes care of most of these issues) which might slow down the performance of the websites a bit. In such Performance-critical application, we can leverage the features of “Azure App Service Local Cache”.
For more information, you refer to this Azure documentation on Azure App Service Local Cache & this blog post as well .
QUESTION
I'm completely new to trying to implement GitLab's CI/CD pipelines, but it's been going quite well. In fact, for my ASP.NET project, if I specify a Publish Profile in the msbuild
command that uses Web Deploy, it actually deploys the code successfully to the web server.
However, I'm now wanting to have the "build" job create artifacts which are uploaded to GitLab that I can then subsequently deploy. We're using a self-hosted instance of GitLab, for which I'm not an admin, but I can speak to the admin if I know what I'm asking for!
So I've configured my gitlab-ci.yml
file like this:
ANSWER
Answered 2022-Feb-08 at 15:22After countless hours working on this, it seems that ultimately the issue was that our internal Web Application Firewall was blocking some part of the transfer of artefacts to the server, or the response back from it. With the WAF reconfigured not to block traffic from the machine running the GitLab Runner, the artefacts are successfully uploaded and the job succeeds.
This would have been significantly easier to diagnose if the logging from GitLab was better. As per my comment on this issue, it should be possible to see the content of the response from the GitLab server after uploading artefacts, even when the response code is 200
.
What's strange - and made diagnosing the issue even harder - is that when I worked through the issue with the admin of our GitLab instance, digging through logs and running it in debug mode, the artefact upload process was uploading something successfully. We could see, for example, the GitLab Runner's log had been uploaded to the server. Clearly the WAF's blocking was selective and didn't block everything in both directions.
QUESTION
I have written a program which takes in an single command line argument containing the input file, and runs it through some algorithms and creating a txtfile containing the results.
What I need to be able to do is review the file using GitHub Actions. My program builds with GitHub Actions, I just can't review the output files.
Currently this is how I have my cmake.yml set up:
...ANSWER
Answered 2022-Feb-04 at 13:39This seems to be an error message emitted by your program:
Please execute this program with the input file name included as an argument.
We can't know what goes wrong because you don't show the part of your program that emits this.
You say
I have written a program which takes in an single command line argument
but you give multiple arguments:
QUESTION
I am trying to deploy a vuejs app with the azure web app and github action. Here is my yml:
...ANSWER
Answered 2021-Nov-23 at 15:55So yes, I figured out how I can solve this pain.
So all I had to do is create .env file before the build, see the full yml below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install upload-artifact
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page