Prepare Release From main #27
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: Prepare Release From main | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: 'release version, e.g. 0.14.0' | |
| required: true | |
| jobs: | |
| prepare-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v5 | |
| - name: Setup node 22 | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| - name: Run script | |
| run: | | |
| git config --global user.name "${{ github.actor }}" | |
| git config --global user.email "${{ github.actor }}@users.noreply.github.com" | |
| VERSION=${{ github.event.inputs.version }} | |
| ./prepare_release.sh --version=$VERSION --upstream=https://github.com/${{ github.repository }} |