Tip
All tutorials: https://github.com/andry81/index#tutorials
Related actions:
Extends actions/checkout action script mainly to be able to checkout an empty repository with additional features.
You need simply replace the uses value in a workflow script:
actions/checkout@v3 -> andry81-devops/gh-action--git-checkout@master
If remote repository exists but has no any branch reference, then the action script does use mkdir bash shell command to create a directory from the path parameter and git init to initialize a working copy.
Additionally, the action script does use mkdir -p bash shell command to allocate a working copy subdirectories from the mkdir-p extra parameter.
Warning
Currently implemented ONLY a Linux version details check.
Use set of commands and features to request OS version details:
-
${{ runner.os }}
-
echo "$ImageOS: $ImageVersion"
-
cat '/etc/os-release'
-
lsb_release -a
-
hostnamectl
-
uname -r
Note
See REUSE section for details if you have multiple repositories and want to store all GitHub workflow scripts (.github/workflows/*.yml) in a single repository.
https://github.com/andry81-devops/gh-known-issues#known-issues
https://github.com/andry81-devops/gh-known-issues#last-known-issues-updates