Files
dotfiles/.github/workflows/bundle.yml
Nick Mello afa723300a github: Add workflow to build bundles
Bundles contain an extract script that can be run when unbundled that
puts everything in its place just like an install would do but without
the need for python or the json files.

Signed-off-by: Nicholas Mello <nick@nmello.dev>
2025-08-14 22:12:03 -05:00

39 lines
826 B
YAML

name: Build Dotfile Bundles
on:
push:
branches:
- master
workflow_dispatch:
jobs:
bundle:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout your repository
- name: Checkout repo
uses: actions/checkout@v3
# Step 2: Set up Python
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
# Step 3: Run manager bundle for each tool
- name: Build bundles
run: |
./manager bundle nvim
./manager bundle git
./manager bundle fish
./manager bundle tmux
./manager bundle
# Step 4: Upload bundles as artifacts
- name: Upload bundles
uses: actions/upload-artifact@v4
with:
name: dotfile-bundles
path: "*.tar.gz"