Comments (7)
Apologies for the delay. I do use the output in a follow-up step. Thanks for offering the fallback patch! 👍
from jacoco-badge-generator.
@cicirello I'm seeing positive results from numerous PRs that are using @v2
:
Runner:
Current runner version: '2.294.0'
Action fetch looks good 👍 (confirming that v2 sha points to 2.8.1)
Download action repository 'cicirello/jacoco-badge-generator@v2' (SHA:2dc380ee1533a13cd53ac62743c847842212407b)
##[debug]Download 'https://api.github.com/repos/cicirello/jacoco-badge-generator/tarball/2dc380ee1533a13cd53ac62743c847842212407b' to '/runner/_work/_actions/_temp_593b2a2e-4a3c-473e-a528-f1c46c6cb392/b6cf47c3-a6cb-4fb5-a673-5451f23dfd3c.tar.gz'
Action debug output looks good 👍
::set-output name=coverage::0.9122481442205727
##[debug]steps.jacoco.outputs.coverage='0.9122481442205727'
::set-output name=branches::0.6594202898550725
##[debug]steps.jacoco.outputs.branches='0.6594202898550725'
##[debug]Docker Action run completed with exit code 0
Output usage succeeded as well. 👍
Thanks.
from jacoco-badge-generator.
Unfortunately, this is going to break usage for self-hosted GHES enterprise organizations that are not on the bleeding edge. I am still on GHES 3.5, which uses runner version 2.294.0
while this requires at least 2.297.0
. I am going to have to pin to 2.7.0
if reverting is not possible.
from jacoco-badge-generator.
@erodewald does your workflow use those outputs in later steps? If not, then it shouldn't break it in your case. I have a check in there if the new environment variable exists. The original purpose of the check was for the case of someone using it as a CLI tool entirely outside of Actions.
If you are using those outputs, I think I can probably use the old set-output
if the new environment variable doesn't exist.
from jacoco-badge-generator.
@erodewald I had some time to look at it, so rather than wait for an answer to my previous question, I assumed that it would likely break things for someone. The newly released version v2.8.1 should fix it. It will use the new approach if GitHub's new environment variable exists, and will otherwise use the deprecated set-output
(PR #91).
from jacoco-badge-generator.
@erodewald let me know if there are any issues with the patch. I had to fake running in actions on my local machine to test it, since any testing on GitHub would pick up the new env file.
from jacoco-badge-generator.
@erodewald great. Thanks for sharing.
from jacoco-badge-generator.
Related Issues (20)
- Feature Req: Support glob to find jacoco csv files in multi module projects HOT 4
- Jacoco report not generated when using Java 17 HOT 2
- No Jacoco report with Java 17 HOT 2
- Feature Req: Badge for multi-module Maven project HOT 3
- Option to suppress logging output to workflow job summary
- Feature Req: edit workflow summary values HOT 5
- Update Python to 3.12 in CI/CD workflows when running unit tests
- Matrix testing Python versions for unit tests and CLI mode
- Feature Req: How to use directly without github action? HOT 2
- BUG: An extra __pycache__ file with root permission will break the workflow HOT 3
- Feature request: absolute path for jacoco-csv-file HOT 5
- Sample badges not showing in GitHub Marketplace listing
- Refactor main block to extract a main function
- Add alternate entry point for running as command-line utility outside of GitHub Actions
- Workflow to publish package to PyPi during release for CLI usage
- Question: Badges was not generated HOT 3
- Feature Req: Generate badges from JaCoCo reports in xml format HOT 7
- Output a GitHub Actions workflow job summary
- Replacement for set-output may break some self-hosted cases
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 jacoco-badge-generator.