question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub Actions Improvements

See original GitHub issue

Prerequisites

Description

Following the conversion from TravisCI to GitHub Actions #993 , there are a few improvements that could be made to round this ticket out. 1.Cache the downloaded dependencies within the Docker container. (tried using the cache action and mounting it to the correct folder on Docker but it seems to always cache nothing even though there is only one .ivy2/cache directory at /root/) (Fixed with #1021 ) 2.Add an action to package up the release on tagged versions.

Steps to Reproduce

1. Trigger a github action to run, and view the logging in the checks tab to ensure that the cache is reloaded between triggers of docker containers. The cache is stored with a hash of the ivy.xml file.

Expected behaviour: the cached dependencies will be reloaded into the correct docker .xml file and will not dowload any further dependencies if working correctly.

Actual behaviour: The dependency is compared, found to be correct - and then loaded into docker. The cache is empty at that point. Where it should be full of downloads.

Reproduces how often: 100%

Additional Information

The cache action is specified in .github -> workflows -> build-and-scan.yml The cache directory is set at ${HOME}/.ivy2/cache This is then mounted when launching the docker container.

Saving the cache seems to work at correct time, but quite possibly doesn’t save the information into the cache for some reason or another.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
CrucisGammacommented, Sep 6, 2021

Have started looking at this more seriously now 😃 I can see the existing .yml files in https://github.com/constellation-app/constellation/tree/master/.github/workflows and doing research on github actions so I can get my head around them

1reaction
CrucisGammacommented, Sep 1, 2021

Gulp.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Features • GitHub Actions
GitHub Actions supports Node.js, Python, Java, Ruby, PHP, Go, Rust, .NET, and more. Build, test, and deploy applications in your language of choice....
Read more >
Improvements to GitHub Actions starter experience
Getting started with GitHub Actions just got easier! Now, when you want to create an Actions workflow in the Actions tab of your...
Read more >
GitHub Action performance improvements - a great ... - YouTube
GitHub Actions are great for automation and improving your workflow, but you could improve your repo workflow even more!
Read more >
GitHub Actions improvements help teams go faster at scale
GitHub Actions has been helping software teams go faster at scale and in fact, GitHub's own telemetry identifies that repos merge pull requests ......
Read more >
GitHub Actions Performance Improvement for your CI/CD
While building/compiling angular or node application on Local Build Machine or Azure Pipelines or... Tagged with github, angular, actions, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found