Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name target dir with a unique name #1036

Merged
merged 1 commit into from
May 23, 2022

Conversation

lwronski
Copy link
Contributor

CI release fails with the following error: - https://github.com/VirtusLab/scala-cli/runs/6559510925?check_suite_focus=true

Run ./mill -i ci.updateScalaCliSetup
[9](https://github.com/VirtusLab/scala-cli/runs/6559510925?check_suite_focus=true#step:15:10)
[1/5] de.tobiasroeser.mill.vcs.version.VcsVersion.vcsState.overridden.de.tobiasroeser.mill.vcs.version.VcsVersion.vcsState 
[10](https://github.com/VirtusLab/scala-cli/runs/6559510925?check_suite_focus=true#step:15:11)
[5/5] ci.updateScalaCliSetup 
[11](https://github.com/VirtusLab/scala-cli/runs/6559510925?check_suite_focus=true#step:15:12)
1 targets failed
[12](https://github.com/VirtusLab/scala-cli/runs/6559510925?check_suite_focus=true#step:15:13)
ci.updateScalaCliSetup java.nio.file.AccessDeniedException: /home/runner/work/scala-cli/scala-cli/target/scala-cli-packages/CentOS/Packages/repodata/f4e38e1c1e0402f1eaafe88ad3638165942d5bca883e6a7e7c7668b69cc2acb7-other.xml.gz
[13](https://github.com/VirtusLab/scala-cli/runs/6559510925?check_suite_focus=true#step:15:14)
    java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)

To avoid some permission issue with removing targetDir I named it with unique name.

@lwronski lwronski enabled auto-merge (squash) May 23, 2022 17:28
@lwronski lwronski merged commit cf77234 into VirtusLab:main May 23, 2022
@alexarchambault alexarchambault added the internal Internal or build-related changes label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal or build-related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants