mirror of
				https://github.com/microsoft/graphrag.git
				synced 2025-11-04 11:49:48 +00:00 
			
		
		
		
	
							parent
							
								
									3093251148
								
							
						
					
					
						commit
						7879bfb795
					
				
							
								
								
									
										17
									
								
								.github/workflows/python-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/python-publish.yml
									
									
									
									
										vendored
									
									
								
							@ -5,10 +5,6 @@ on:
 | 
				
			|||||||
  push:
 | 
					  push:
 | 
				
			||||||
    branches: [main]
 | 
					    branches: [main]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
env:
 | 
					 | 
				
			||||||
  POETRY_VERSION: 1.8.3
 | 
					 | 
				
			||||||
  PYTHON_VERSION: 3.10
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  publish:
 | 
					  publish:
 | 
				
			||||||
    name: Upload release to PyPI
 | 
					    name: Upload release to PyPI
 | 
				
			||||||
@ -18,8 +14,8 @@ jobs:
 | 
				
			|||||||
      name: pypi
 | 
					      name: pypi
 | 
				
			||||||
      url: https://pypi.org/p/graphrag
 | 
					      url: https://pypi.org/p/graphrag
 | 
				
			||||||
    permissions:
 | 
					    permissions:
 | 
				
			||||||
        id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing
 | 
					      id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
 | 
				
			||||||
    
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@ -29,16 +25,16 @@ jobs:
 | 
				
			|||||||
      - name: Set up Python
 | 
					      - name: Set up Python
 | 
				
			||||||
        uses: actions/setup-python@v5
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: $PYTHON_VERSION
 | 
					          python-version: ${{ env.PYTHON_VERSION}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Install Poetry
 | 
					      - name: Install Poetry
 | 
				
			||||||
        uses: abatilo/actions-poetry@v3.0.0
 | 
					        uses: abatilo/actions-poetry@v3.0.0
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          poetry-version: $POETRY_VERSION
 | 
					          poetry-version: ${{ env.POETRY_VERSION}}
 | 
				
			||||||
      
 | 
					
 | 
				
			||||||
      - name: Add poetry-dynamic-versioning plugin
 | 
					      - name: Add poetry-dynamic-versioning plugin
 | 
				
			||||||
        run: poetry self add "poetry-dynamic-versioning[plugin]"
 | 
					        run: poetry self add "poetry-dynamic-versioning[plugin]"
 | 
				
			||||||
        
 | 
					
 | 
				
			||||||
      - name: Install dependencies
 | 
					      - name: Install dependencies
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: poetry install
 | 
					        run: poetry install
 | 
				
			||||||
@ -53,4 +49,3 @@ jobs:
 | 
				
			|||||||
          packages-dir: dist
 | 
					          packages-dir: dist
 | 
				
			||||||
          skip-existing: true
 | 
					          skip-existing: true
 | 
				
			||||||
          verbose: true
 | 
					          verbose: true
 | 
				
			||||||
      
 | 
					 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user