feat: make graph memory core #15
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: | |
| pull_request: | |
| types: [closed] | |
| branches: [main] | |
| jobs: | |
| release: | |
| if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: main | |
| - name: Extract version from branch name | |
| id: version | |
| run: | | |
| BRANCH="${{ github.event.pull_request.head.ref }}" | |
| TAG=$(echo "$BRANCH" | sed 's|release/||') | |
| echo "tag=$TAG" >> "$GITHUB_OUTPUT" | |
| echo "Extracted tag: $TAG" | |
| - name: Create GitHub release | |
| run: gh release create "${{ steps.version.outputs.tag }}" --generate-notes --target main | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |