chore: sync allinone skill from CloudBase-AI-ToolKit #187
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: Release on skill update | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'skills/cloudbase/**' | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Get version from date | |
| id: version | |
| run: echo "tag=v$(date -u +'%Y.%m.%d.%H%M')" >> $GITHUB_OUTPUT | |
| - name: Zip skill | |
| run: zip -r cloudbase-skill.zip skills/cloudbase | |
| - name: Create release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ steps.version.outputs.tag }} | |
| name: ${{ steps.version.outputs.tag }} | |
| files: cloudbase-skill.zip |