Repository navigation
Drop ln -F in the snippets script for the Ubuntu 26.04 runners - #118
Merged
Merged
Conversation
ubuntu-latest moved to Ubuntu 26.04, whose ln (the Rust coreutils rewrite) rejects -F. GNU ln treated it as --directory, a no-op for symbolic links, and the scripts always create the link in a fresh directory, so nothing else changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ubuntu-lateston GitHub Actions is now Ubuntu 26.04 (runner image 20261025.179.1). Itslnis the Rust coreutils rewrite and rejects-F:GNU
lnaccepted-Fas--directory, which does nothing for symbolic links, so dropping it changes nothing on the old image either.scripts/run_snippets.shcreates its link in a freshly created directory, so no other flag is needed.scripts/run_snippets.sh:ln -sv -F ../aspose_barcode_cloud/ .→ln -sv ../aspose_barcode_cloud/ .Verification
python-package.ymlpinsubuntu-22.04, which still has GNUln; the same script breaks as soon as that job moves toubuntu-latest, as it did in the .NET, Java and Node.js repositories. The CI on this PR exercises the script onubuntu-22.04.