Skip to content

Drop ln -F in the snippets script for the Ubuntu 26.04 runners - #118

Merged
Denis-Averin merged 1 commit into
mainfrom
fix/ln-f-new-runners
Nov 4, 2026
Merged

Denis-Averin merged 1 commit into
mainfrom
fix/ln-f-new-runners

Conversation

@Denis-Averin

@Denis-Averin Denis-Averin commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

ubuntu-latest on GitHub Actions is now Ubuntu 26.04 (runner image 20261025.179.1). Its ln is the Rust coreutils rewrite and rejects -F:

error: unexpected argument '-F' found

GNU ln accepted -F as --directory, which does nothing for symbolic links, so dropping it changes nothing on the old image either. scripts/run_snippets.sh creates 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

  • This repository does not fail today only because python-package.yml pins ubuntu-22.04, which still has GNU ln; the same script breaks as soon as that job moves to ubuntu-latest, as it did in the .NET, Java and Node.js repositories. The CI on this PR exercises the script on ubuntu-22.04.

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.
@Denis-Averin
Denis-Averin requested a review from a team as a code owner November 4, 2026 11:03
@Denis-Averin
Denis-Averin merged commit cad0da6 into main Nov 4, 2026
17 checks passed
@Denis-Averin
Denis-Averin deleted the fix/ln-f-new-runners branch November 4, 2026 11:25
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.

1 participant