moomiji/Host NuGet on GitHub
Run the sleet, and push the static nuget feed to github.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 9, 2026
- License
- MIT
Pinned Snippet
uses: moomiji/host-nuget-on-github@cc4e294bb66c8d73de07632c9c8b6505dc663eb1 # v1.0.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| base-uri | Specify a URI to write to the feed json files instead of the container's URI. Useful if serving up the content from a different endpoint. | yes | — |
| package-paths | Relative paths to individual packages or directories containing packages. | yes | — |
| on-sleet-pushed | Bash commands executed on sleet pushed. | — | "" |
| repository-path | Relative path under $GITHUB_WORKSPACE/.. to place the nuget feed repository. The environment variable $FEED_WORKSPACE is set to its absolute path. Useful if specifying a config. | — | GitHub-Hosted |
| feed-path | [Relative path under $FEED_WORKSPACE/ to the output directory of the feed.](https://github.com/emgarten/Sleet/blob/main/doc/client-settings.md#folder-feed-specific-properties) | — | "" |
| config | [Relative path to sleet.json where the source information is contained.](https://github.com/emgarten/Sleet/blob/main/doc/commands.md#push) | — | none |
| force | [Overwrite existing packages.](https://github.com/emgarten/Sleet/blob/main/doc/commands.md#push) | — | false |
| skip-existing | [Skip packages that already exist on the feed.](https://github.com/emgarten/Sleet/blob/main/doc/commands.md#push) | — | false |
| commit-message | Message to use when committing changes. | — | ${{ github.repository }}(${{ github.ref_name }}) |
| commit-author | Author name and email address in the format `Display Name <email@address.com>`. | — | ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com> |
| commit-user-name | User name of the commiter. | — | github-actions[bot] |
| commit-user-email | User email address of the commiter ( {user.id}+{user.login}@users.noreply.github.com ). See [users API](https://api.github.com/users/github-actions%5Bbot%5D). | — | 41898282+github-actions[bot]@users.noreply.github.com |
| commit-sign | Sign commits use `web-flow.gpg` or `commit-user-gpg-key` of your own bot. | — | false |
| commit-user-gpg-key | GPG private key of your own bot. Defaults to `web-flow.gpg`. | — | "" |
| commit-user-gpg-passphrase | Passphrase of the GPG key. | — | "" |
| squash | Indicate whether to squash all commits of the branch. | — | false |
| repository | Repository name with owner. For example, actions/checkout | — | — |
| branch | The branch name. Otherwise, uses the default branch. | — | — |
| token | Personal access token (PAT) used to fetch and push the repository. | — | ${{ github.token }} |
| lfs | Whether to download Git-LFS files. | — | false |
Outputs
| name | description |
|---|---|
| feed-uri | Full uri of the feed's root. |