Merge branch 'main' of https://github.com/jfraeys/.local-bin
This commit is contained in:
commit
3908cded53
3 changed files with 30 additions and 22 deletions
22
.github/workflows/deploy.yml
vendored
22
.github/workflows/deploy.yml
vendored
|
|
@ -11,38 +11,38 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "your-email@example.com"
|
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
||||||
git config --global user.name "Your Name"
|
git config --global user.name "${{ github.actor }}"
|
||||||
|
|
||||||
- name: Deploy aactivator.py
|
- name: Deploy aactivator.py
|
||||||
run: |
|
run: |
|
||||||
cp aactivator.py /path/to/your/deployment/directory
|
cp aactivator.py .
|
||||||
git add /path/to/your/deployment/directory/aactivator.py
|
git add aactivator.py
|
||||||
git commit -m "Deploy aactivator.py"
|
git commit -m "Deploy aactivator.py"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
- name: Deploy tmux_sessionizer
|
- name: Deploy tmux_sessionizer
|
||||||
run: |
|
run: |
|
||||||
cp tmux_sessionizer /path/to/your/deployment/directory
|
cp tmux_sessionizer .
|
||||||
git add /path/to/your/deployment/directory/tmux_sessionizer
|
git add tmux_sessionizer
|
||||||
git commit -m "Deploy tmux_sessionizer"
|
git commit -m "Deploy tmux_sessionizer"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
- name: Deploy tmux_windownizer
|
- name: Deploy tmux_windownizer
|
||||||
run: |
|
run: |
|
||||||
cp tmux_windownizer /path/to/your/deployment/directory
|
cp tmux_windownizer .
|
||||||
git add /path/to/your/deployment/directory/tmux_windownizer
|
git add tmux_windownizer
|
||||||
git commit -m "Deploy tmux_windownizer"
|
git commit -m "Deploy tmux_windownizer"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
- name: Deploy setup_dev_environment.sh
|
- name: Deploy setup_dev_environment.sh
|
||||||
run: |
|
run: |
|
||||||
cp setup_dev_environment.sh /path/to/your/deployment/directory
|
cp setup_dev_environment.sh .
|
||||||
git add /path/to/your/deployment/directory/setup_dev_environment.sh
|
git add setup_dev_environment.sh
|
||||||
git commit -m "Deploy setup_dev_environment.sh"
|
git commit -m "Deploy setup_dev_environment.sh"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
28
.github/workflows/test_script.yml
vendored
28
.github/workflows/test_script.yml
vendored
|
|
@ -18,38 +18,46 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install tmux on macOS
|
||||||
|
if: startsWith(matrix.os, 'macos')
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -r requirements.txt
|
if ! command -v brew &> /dev/null; then
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
fi
|
||||||
|
brew install tmux
|
||||||
|
|
||||||
|
- name: Install tmux on Ubuntu
|
||||||
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
|
run: sudo apt-get install tmux
|
||||||
|
|
||||||
- name: Test aactivator.py
|
- name: Test aactivator.py
|
||||||
run: |
|
run: |
|
||||||
chmod +x aactivator.py
|
python aactivator.py
|
||||||
./aactivator.py --version
|
|
||||||
|
|
||||||
- name: Test tmux_sessionizer
|
- name: Test tmux_sessionizer
|
||||||
run: |
|
run: |
|
||||||
chmod +x tmux_sessionizer
|
chmod +x tmux_sessionizer
|
||||||
./tmux_sessionizer --version
|
./tmux_sessionizer
|
||||||
|
|
||||||
- name: Test tmux_windownizer
|
- name: Test tmux_windownizer
|
||||||
run: |
|
run: |
|
||||||
chmod +x tmux_windownizer
|
chmod +x tmux_windownizer
|
||||||
./tmux_windownizer --version
|
./tmux_windownizer
|
||||||
|
|
||||||
- name: Test update_brew_lists
|
- name: Test update_brew_lists
|
||||||
run: |
|
run: |
|
||||||
chmod +x update_brew_lists
|
chmod +x update_brew_lists
|
||||||
./update_brew_lists --version
|
./update_brew_lists
|
||||||
|
|
||||||
- name: Test setup_dev_environment.sh
|
- name: Test setup_dev_environment.sh
|
||||||
run: |
|
run: |
|
||||||
chmod +x setup_dev_environment.sh
|
chmod +x setup_dev_environment.sh
|
||||||
./setup_dev_environment.sh --version
|
./setup_dev_environment.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue