https://github.com/octopusdeploy/create-nuget-package-action
| Public | :octocat: GitHub Action to Create a NuGet Package for Octopus Deploy
https://github.com/octopusdeploy/create-nuget-package-action
deployment github-actions octopus-deploy public
Last synced: 4 months ago
JSON representation
| Public | :octocat: GitHub Action to Create a NuGet Package for Octopus Deploy
- Host: GitHub
- URL: https://github.com/octopusdeploy/create-nuget-package-action
- Owner: OctopusDeploy
- License: other
- Created: 2022-12-08T11:41:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-10T04:16:01.000Z (4 months ago)
- Last Synced: 2025-07-10T13:11:55.551Z (4 months ago)
- Topics: deployment, github-actions, octopus-deploy, public
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/create-nuget-package-for-octopus-deploy
- Size: 2.33 MB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# create-nuget-package-action

This is a GitHub Action to create a NuGet package(s) to push to [Octopus Deploy](https://octopus.com/).
## Examples
```yml
steps:
- uses: actions/checkout@v3
# create a NuGet package from files in the "reports" folder; create package in "packaging" folder
- name: Create a NuGet package 🐙
uses: OctopusDeploy/create-nuget-package-action@v3
with:
package_id: 'DemoPackage'
version: '1.0.0'
output_folder: 'packaging'
base_path: reports
files: |
**/*.*
nuspec_description: package description
nuspec_authors: |
author 1
author 2
nuspec_release_notes: |
This is a multiline
release note
```
## 📥 Inputs
| Name | Description |
| :--------------------- | :----------------------------------------------------------------------------------- |
| `package_id` | **Required.** Package id. |
| `version` | **Required.** Package version. |
| `output_folder` | **Required.** The folder to put the resulting package in. |
| `base_path` | **Required.** The base path for the input files. |
| `files` | **Required.** Multi-line list of files to include in the package. Supports globbing. |
| `nuspec_description` | **Required.** Description to include in the Nuspec file. |
| `nuspec_authors` | **Required.** Multi-line list of authors to include in the Nuspec file. |
| `nuspec_release_notes` | Release notes to include in the Nuspec file. |
## 📤 Outputs
| Name | Description |
| :------------------ | :------------------------------------------------------------ |
| `package_file_path` | The full path to the package file that was created. |
| `package_filename` | The filename, without the path, of the file that was created. |
## Developers guide
[Developers Guide](DEVELOPERS_GUIDE.md)
## 🤝 Contributions
Contributions are welcome! :heart: Please read our [Contributing Guide](CONTRIBUTING.md) for information about how to get involved in this project.