mirror of
				https://github.com/Thor77/TeamspeakStats.git
				synced 2025-11-03 15:22:45 -05:00 
			
		
		
		
	Add publish workflow
This commit is contained in:
		
							parent
							
								
									b6905d8f8b
								
							
						
					
					
						commit
						6b8400a509
					
				
					 2 changed files with 24 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								.github/workflows/publish.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/publish.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					name: publish
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    tags:
 | 
				
			||||||
 | 
					      - "*"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  test:
 | 
				
			||||||
 | 
					    uses: ./.github/workflows/test.yml
 | 
				
			||||||
 | 
					  publish:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-22.04
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      - uses: actions/setup-python@v4
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          python-version: '3.10'
 | 
				
			||||||
 | 
					      - name: Setup poetry
 | 
				
			||||||
 | 
					        uses: abatilo/actions-poetry@v2
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          poetry-version: '1.3'
 | 
				
			||||||
 | 
					      - name: Publish
 | 
				
			||||||
 | 
					        run: poetry publish --build
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -3,6 +3,7 @@ name: test
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
  push: {}
 | 
					  push: {}
 | 
				
			||||||
  pull_request: {}
 | 
					  pull_request: {}
 | 
				
			||||||
 | 
					  workflow_call: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  lint:
 | 
					  lint:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue