Auto Release #2
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: Auto Release | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: 'Release version (e.g., 1.0.0)' | |
| type: string | |
| required: false | |
| name: | |
| description: 'The name of the person to release the version' | |
| type: string | |
| required: false | |
| email: | |
| description: 'The email of the person to release the version' | |
| type: string | |
| required: false | |
| timezone: | |
| description: 'The timezone in the debian changelog file' | |
| required: false | |
| type: string | |
| default: 'Asia/Shanghai' | |
| workflow_call: | |
| inputs: | |
| version: | |
| description: 'Release version (e.g., 1.0.0)' | |
| type: string | |
| required: true | |
| name: | |
| description: 'The name of the person to release the version' | |
| type: string | |
| required: false | |
| email: | |
| description: 'The email of the person to release the version' | |
| type: string | |
| required: false | |
| timezone: | |
| description: 'The timezone in the debian changelog file' | |
| required: false | |
| type: string | |
| default: 'Asia/Shanghai' | |
| jobs: | |
| auto_release: | |
| uses: linuxdeepin/.github/.github/workflows/auto-release.yml@master | |
| secrets: inherit | |
| with: | |
| version: ${{ inputs.version }} | |
| name: ${{ inputs.name }} | |
| email: ${{ inputs.email }} | |
| timezone: ${{ inputs.timezone }} |