Replaced dotstow with my own fork version. #57
Workflow file for this run
This file contains 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
name: CI - Fedora | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
env: | |
SKIP_SETTING_USER: true | |
SKIP_INSTALL_PROGLANG: false | |
SKIP_POST_SETUP: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Initialize | |
run: | | |
echo "Initialize: Skipped. Fedora is working enough out-of-the-box..." | |
- name: Getting Started | |
run: | | |
mkdir -p ~/.ssh | |
cd rhel && ./setup.sh | |
- name: Add User | |
run: | | |
cd rhel && ./adduser.sh | |
- name: Post-Setup | |
run: | | |
echo "Post-Setup: Skipped. Already executed on the previous step..." | |
- name: Installing dotstow | |
run: | | |
./install-dotstow.sh | |
- name: Simulate Stowing | |
run: | | |
mkdir -p $HOME/.dotfiles | |
mkdir -p $HOME/.local/state/dotstow | |
ln -s $HOME/.dotfiles $HOME/.local/state/dotstow/dotfiles | |
ls -lah $PWD | |
cp -r $PWD/* $HOME/.dotfiles/ | |
sudo -u johnc bash -c 'ls -lah $HOME/.dotfiles/' | |
sudo -u johnc bash -c 'cd $HOME/.dotfiles/rhel && ./stowme.sh' |