Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brokeyourbike/prepare-opencart-module-action
Prepare Opencart extension (ocmod)
https://github.com/brokeyourbike/prepare-opencart-module-action
action actions github-action github-actions hacktoberfest ocmod opencart opencart-extension opencart-module
Last synced: 2 months ago
JSON representation
Prepare Opencart extension (ocmod)
- Host: GitHub
- URL: https://github.com/brokeyourbike/prepare-opencart-module-action
- Owner: brokeyourbike
- License: mit
- Created: 2021-07-06T23:52:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T17:53:03.000Z (7 months ago)
- Last Synced: 2024-10-31T10:49:27.481Z (3 months ago)
- Topics: action, actions, github-action, github-actions, hacktoberfest, ocmod, opencart, opencart-extension, opencart-module
- Language: TypeScript
- Homepage:
- Size: 430 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# prepare-opencart-module-action
[![Latest Stable Version](https://img.shields.io/github/v/release/brokeyourbike/prepare-opencart-module-action)](https://github.com/brokeyourbike/prepare-opencart-module-action/releases)
[![Maintainability](https://api.codeclimate.com/v1/badges/cba9783e98be5bc4f2cf/maintainability)](https://codeclimate.com/github/brokeyourbike/prepare-opencart-module-action/maintainability)Prepare Opencart module
## Usage
```yaml
name: releaseon:
release:
types: [ published ]jobs:
zip-files:
runs-on: ubuntu-latest
timeout-minutes: 10steps:
- uses: actions/checkout@v3- name: Prepare Ocmod
uses: brokeyourbike/prepare-opencart-module-action@v1
id: prepare
with:
module-name: example-module-name
modification-file: modification.xml
files: admin/ catalog/- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_path: ${{ steps.prepare.outputs.output_file }}
asset_name: ${{ steps.prepare.outputs.output_name }}
asset_content_type: application/zip
```## Arguments
| Input | Description | Usage |
| :---: | :---: | :---: |
| `module-name` | name of the OpenCart module | *Required |
| `files` | files or directories to includ | |
| `modification-file` | add modification to the module root | |
| `license-file` | add license to the module root | |## Authors
- [Ivan Stasiuk](https://github.com/brokeyourbike) | [Twitter](https://twitter.com/brokeyourbike) | [LinkedIn](https://www.linkedin.com/in/brokeyourbike) | [stasi.uk](https://stasi.uk)
## License
[MIT License](https://github.com/brokeyourbike/prepare-opencart-module-action/blob/main/LICENSE)