Skip to content

Add GitHub Actions workflow for fork sync builds - #969

Closed
vncsalencar wants to merge 1 commit into
nix-community:mainfrom
vncsalencar:claude/auto-build-wsl-actions-B1yqi
Closed

Add GitHub Actions workflow for fork sync builds#969
vncsalencar wants to merge 1 commit into
nix-community:mainfrom
vncsalencar:claude/auto-build-wsl-actions-B1yqi

Conversation

@vncsalencar

Copy link
Copy Markdown

Summary

This PR adds a new GitHub Actions workflow that automatically builds the NixOS-WSL tarball whenever changes are pushed to the main branch or when manually triggered. This enables fork maintainers to easily generate updated WSL tarballs without running builds locally.

Changes

  • New workflow file: .github/workflows/on_fork_sync.yml
    • Triggers on pushes to main branch
    • Supports manual triggering via workflow_dispatch
    • Builds the WSL tarball using existing custom actions
    • Uploads the artifact with a 90-day retention policy
    • Generates a build summary in the GitHub Actions UI

Implementation Details

  • Uses existing reusable actions for Nix installation, version management, and tarball building
  • Artifact is named with the version number for easy identification
  • Build summary is posted to the workflow run for quick reference
  • Artifact retention is set to 90 days to manage storage costs
  • All action versions are pinned to specific commits for reproducibility

https://claude.ai/code/session_01V7QwFhHbuSW8dPwQ3MNoyn

Adds a GitHub Actions workflow that automatically builds the nixos.wsl
tarball whenever the fork is synced with the upstream repository.

The workflow:
- Triggers on push to main (which happens during sync)
- Can also be manually triggered from the Actions tab
- Builds the tarball and uploads it as an artifact
- Retains artifacts for 90 days

https://claude.ai/code/session_01V7QwFhHbuSW8dPwQ3MNoyn
@vncsalencar

Copy link
Copy Markdown
Author

Sorry, created this by mistake. My bad!

@vncsalencar
vncsalencar deleted the claude/auto-build-wsl-actions-B1yqi branch January 29, 2026 03:41
@vncsalencar
vncsalencar restored the claude/auto-build-wsl-actions-B1yqi branch January 29, 2026 03:42
@vncsalencar
vncsalencar deleted the claude/auto-build-wsl-actions-B1yqi branch January 29, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants