jfrog / setup-jfrog-cli

Set up JFrog CLI in your GitHub Actions workflow
Apache License 2.0
246 stars 78 forks source link

Fix Job Summary disabled on self hosted machines #194

Closed EyalDelarea closed 1 month ago

EyalDelarea commented 1 month ago

The enableJobSummaries() function previously attempted to retrieve the temporary directory location using the os.RUNNER_TEMP environment variable. However, on self-hosted machines, this variable may be unset. This PR introduces a fallback to the system's default temporary directory when RUNNER_TEMP is not set.

Tests for this function have also been added.

github-actions[bot] commented 1 month ago
[![👍 Frogbot scanned this pull request and did not find any new security issues.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)

[🐸 JFrog Frogbot](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)