GitHub Action
Create NuGet Package for Octopus Deploy
v3.1.1
Latest version
This is a GitHub Action to create a NuGet package(s) to push to Octopus Deploy.
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
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. |
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. |
Contributions are welcome! ❤️ Please read our Contributing Guide for information about how to get involved in this project.