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

Build on Windows #2743

Merged
merged 22 commits into from
Nov 20, 2024
Merged

Build on Windows #2743

merged 22 commits into from
Nov 20, 2024

Conversation

pbchekin
Copy link
Contributor

No description provided.

@pbchekin pbchekin marked this pull request as ready for review November 19, 2024 23:23
@pbchekin pbchekin requested a review from anmyachev November 19, 2024 23:36
@pbchekin pbchekin enabled auto-merge (squash) November 19, 2024 23:47
@pbchekin pbchekin requested a review from gshimansky November 19, 2024 23:47
@gshimansky
Copy link
Contributor

Maybe remove directories older than 7 days so prevent its overfilling? Something like this (AI generated, untested):

# Specify the directory you want to clean up
$targetDirectory = "C:\"
$mask = "gh*"

# Specify the age threshold (e.g., 7 days)
$ageThreshold = 7

# Get all directories in the target directory
$directories = Get-ChildItem -Path $targetDirectory -Directory -Filter $mask

# Filter directories older than the threshold and delete them
$directories | Where-Object { $_.LastWriteTime -lt (Get-Date).AddDays(-$ageThreshold) } | Remove-Item -Recurse -Force

@pbchekin
Copy link
Contributor Author

Maybe remove directories older than 7 days so prevent its overfilling?

Yes, or better use ephemeral runners, which we planning soon.

@pbchekin pbchekin merged commit 413e738 into main Nov 20, 2024
5 checks passed
@pbchekin pbchekin deleted the build-test-windows branch November 20, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants