Use dotfiles' dot-command to start a self-contained dotfiles environment
The runner needs to have at least zsh installed as a minimum. For this, run the following:
- name: Requiremnent for dot
run: |
sudo apt update
sudo apt install -y zshor to ensure all requirements are in-place, use the install-action without changing the shell:
- name: Install dotfiles action
uses: gbraad-dotfiles/install-action@v1
with:
change-shell: falseNote
The install-action places the .dotfiles' files in the root of the ${USER}'s ${HOME}-folder.
After this, you can use the dot-action to run any .dotfiles' function
- name: Run dot command - devenv dotfedora exec cat /etc/os-release
uses: gbraad-dotfiles/dot-action@main
with:
run: |
devenv dotfedora exec cat /etc/os-releaseHave a look here for an example workflows.