ci: tag as a separate step
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							@@ -46,6 +46,12 @@ jobs:
 | 
				
			|||||||
      - name: Ensure Quartz builds, check bundle info
 | 
					      - name: Ensure Quartz builds, check bundle info
 | 
				
			||||||
        run: npx quartz build --bundleInfo
 | 
					        run: npx quartz build --bundleInfo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  publish-tag:
 | 
				
			||||||
 | 
					    if: ${{ github.repository == 'jackyzha0/quartz' }}
 | 
				
			||||||
 | 
					    run-on: ubuntu-latest
 | 
				
			||||||
 | 
					    permissions:
 | 
				
			||||||
 | 
					      contents: write
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
      - name: Get package version
 | 
					      - name: Get package version
 | 
				
			||||||
        run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
 | 
					        run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user