https://github.com/octopusdeploy/create-zip-package-action
| Public | :octocat: GitHub Action to Create a Zip Package to Upload to Octopus Deploy
https://github.com/octopusdeploy/create-zip-package-action
Last synced: 7 months ago
JSON representation
| Public | :octocat: GitHub Action to Create a Zip Package to Upload to Octopus Deploy
- Host: GitHub
- URL: https://github.com/octopusdeploy/create-zip-package-action
- Owner: OctopusDeploy
- License: other
- Created: 2022-12-08T11:41:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T03:34:46.000Z (over 1 year ago)
- Last Synced: 2024-05-23T04:53:43.101Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/create-zip-package-for-octopus-deploy
- Size: 1.34 MB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# create-zip-package-action

This is a GitHub Action to create a Zip package(s) to push to [Octopus Deploy](https://octopus.com/).
## Examples
```yml
steps:
- uses: actions/checkout@v3
# create a Zip package from files in the "reports" folder; create package in "packaging" folder
- name: Create a Zip package 🐙
uses: OctopusDeploy/create-zip-package-action@v3
with:
package_id: 'DemoPackage'
version: '1.0.0'
output_folder: './packaging'
base_path: reports
files: |
**/*.*
```
## 📥 Inputs
| Name | Description |
| :-------------- | :---------------------------------------------------------------------------------------------------------------------- |
| `package_id` | **Required.** Package id. |
| `version` | **Required.** Package version. |
| `output_folder` | **Required.** The folder to put the resulting package in, relative to the current working directory, not the base_path. |
| `base_path` | **Required.** The base path for the input files. |
| `files` | **Required.** Multi-line list of files to include in the package, relative to the base path. Supports globbing. |
## 📤 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.