Skip to content

Fix: Fixing installer for separate commands#34

Merged
sudo-bmitch merged 1 commit into
regclient:mainfrom
sudo-bmitch:pr-fix-cmd-installer
Nov 13, 2025
Merged

Fix: Fixing installer for separate commands#34
sudo-bmitch merged 1 commit into
regclient:mainfrom
sudo-bmitch:pr-fix-cmd-installer

Conversation

@sudo-bmitch
Copy link
Copy Markdown
Contributor

@sudo-bmitch sudo-bmitch commented Nov 13, 2025

Fixes issue

regctl-installer is broken for external users.

Describe the change

Unfortunately, the best solution I've found is to duplicate the script across multiple files. This is pretty ugly, but the only other option that might work is to checkout the actions repo and that would go into the workspace of everyone using this action, and would make this no longer self contained.

Trying to call an external shell script doesn't work because all paths are scoped to the directory of the action, and each action has a separate directory. And trying to call the workflow externally requires a github ref that I don't think I can get from GitHub actions, and even if I could would mean that working in forks of this would all point back to this repo (perhaps more variables could be used, but the error messages weren't promising).

How to verify it

Changelog text

  • Fix: Fixing installer for separate commands.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

@sudo-bmitch sudo-bmitch force-pushed the pr-fix-cmd-installer branch 3 times, most recently from 7798ace to 1079a74 Compare November 13, 2025 00:57
Other methods to reuse the workflow won't easily work.
The path to a shell script is limited to the current folder.
Checking out the action externally requires a reference that I won't have.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit f61d18f into regclient:main Nov 13, 2025
10 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-fix-cmd-installer branch November 13, 2025 01:01
@sudo-bmitch sudo-bmitch changed the title Fix: Switching to an external shell script Fix: Fixing installer for separate commands Nov 13, 2025
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