docs: add module upload release notes #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Theme Module | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build module ZIP | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install zip | |
| run: sudo apt-get update && sudo apt-get install -y zip | |
| - name: Validate module | |
| run: bash scripts/validate-module.sh | |
| - name: Check theme assets | |
| run: bash scripts/check-theme-size.sh | |
| - name: Package module | |
| run: bash scripts/package.sh | |
| - name: Upload module artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ColorOS-Themes-Rock | |
| path: dist/*.zip | |
| if-no-files-found: error |