schemastore: handle materialized view shadow table and out-of-place r… #43
Workflow file for this run
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 | |
| permissions: | |
| contents: write | |
| packages: write | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| tag: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| version: ${{ steps.tag.outputs.version }} | |
| steps: | |
| - name: Get the version | |
| id: tag | |
| run: echo "version=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT | |
| - name: Echo tag | |
| run: echo ${{ steps.tag.outputs.version }} | |
| release: | |
| name: release | |
| needs: tag | |
| if: '!contains(needs.tag.outputs.version, ''nextgen'')' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Publish Release | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| VERSION="${{needs.tag.outputs.version}}" | |
| TITLE="${VERSION}" | |
| NOTE="Download Link: | |
| \`\`\` | |
| wget https://tiup-mirrors.pingcap.com/cdc-$VERSION-linux-amd64.tar.gz | |
| docker pull pingcap/ticdc:$VERSION | |
| \`\`\`" | |
| gh release create "$VERSION" --verify-tag -t "$TITLE" -n "$NOTE" |