项目作者: brokeyourbike

项目描述 :
Release Opencart module
高级语言:
项目地址: git://github.com/brokeyourbike/action-release-opencart-module.git
创建时间: 2021-07-06T23:52:43Z
项目社区:https://github.com/brokeyourbike/action-release-opencart-module

开源协议:Apache License 2.0

下载


prepare-opencart-module-action

Latest Stable Version
Maintainability

This action packages the files into a ZIP archive according to the requirements for OpenCart modules.

Usage

  1. name: release
  2. on:
  3. release:
  4. types: [ published ]
  5. jobs:
  6. zip-files:
  7. runs-on: ubuntu-latest
  8. timeout-minutes: 10
  9. steps:
  10. - uses: actions/checkout@v4
  11. - name: Prepare Ocmod
  12. uses: brokeyourbike/prepare-opencart-module-action@v1
  13. id: prepare
  14. with:
  15. module-name: example-module-name
  16. modification-file: modification.xml
  17. files: admin/ catalog/
  18. - name: Upload Release Asset
  19. uses: actions/upload-release-asset@v1
  20. env:
  21. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  22. with:
  23. asset_path: ${{ steps.prepare.outputs.output_file }}
  24. asset_name: ${{ steps.prepare.outputs.output_name }}
  25. 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

License

MIT License