Repository navigation
Scaffold GitHub Action for covdbg setup on Windows - #1
Merged
Merged
Conversation
Co-authored-by: svnscha <24257042+svnscha@users.noreply.github.com>
Co-authored-by: svnscha <24257042+svnscha@users.noreply.github.com>
Co-authored-by: svnscha <24257042+svnscha@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add new GitHub action to setup covdbg on Windows
Scaffold GitHub Action for covdbg setup on Windows
Jan 25, 2026
Contributor
|
@copilot
|
- Add dist/ to .gitignore (no longer tracked in git) - Update download URL to use https://covdbg.com/download/{version}/portable - Support 'latest' version for downloading the latest portable release - Update documentation to reflect new URL and build requirements - Update test workflow to build action before testing Co-authored-by: svnscha <24257042+svnscha@users.noreply.github.com>
Author
Done in 28cb3ac. Changes made:
|
svnscha
marked this pull request as ready for review
January 25, 2026 20:46
Contributor
|
@copilot For testing (right now as this action is in development) comment out the regular URLs and always use: |
- Comment out production URLs - Use temporary test URL: downloads.covdbg.com/21321662162/covdbg.zip - Add TODO comment to uncomment production URLs after testing Co-authored-by: svnscha <24257042+svnscha@users.noreply.github.com>
Author
Done in 25ebf6d. Changes made:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a GitHub Action that downloads, caches, and configures covdbg CLI on Windows runners using a user-specified version.
Implementation
Action structure
@actions/coreand@actions/tool-cachedist/index.jsvia@vercel/nccdist/directory excluded from git (not tracked in repository)Core logic (
src/main.ts)https://downloads.covdbg.com/21321662162/covdbg.zipfor development testinghttps://covdbg.com/download/{version}/portablewhen testing is complete)1.0.0) andlatest(ready for production)tc.cacheDir(), adds to PATH viacore.addPath()win32)covdbg-pathoutputConfiguration (
action.yml)version(required, semver string or 'latest')covdbg-path(installation directory)Usage
Files Added
src/main.ts- Action implementationaction.yml- Action metadata.gitignore- Excludes dist/, node_modules/, lib/README.md- Usage documentation.github/workflows/test.yml- Example workflow with build stepsDevelopment
Since
dist/is not committed, contributors must build the action locally:Note: The action currently uses a test URL for development. Production URLs are commented out in the code and will be enabled after testing is complete.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.