mirror of
				https://github.com/Vomitblood/stort.git
				synced 2025-11-04 04:37:21 +08:00 
			
		
		
		
	updated github actions workflow
This commit is contained in:
		
							parent
							
								
									30ebb72e4b
								
							
						
					
					
						commit
						337209a6ab
					
				
							
								
								
									
										13
									
								
								.github/workflows/build-validation.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/build-validation.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -20,16 +20,9 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Checkout Repository
 | 
					      - name: Checkout Repository
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
        with:
 | 
					 | 
				
			||||||
          fetch-depth: 0 # Fetch the full history, including the .git directory
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      # - name: Install git
 | 
					 | 
				
			||||||
      #   run: apt update && apt install -y git
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Get Variables
 | 
					      - name: Get Variables
 | 
				
			||||||
        run: |
 | 
					        run: echo "TAG_NAME=commit-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
 | 
				
			||||||
          pwd
 | 
					 | 
				
			||||||
          ls -la
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # - name: Update packages
 | 
					      # - name: Update packages
 | 
				
			||||||
      #   run: apt update && apt upgrade -y
 | 
					      #   run: apt update && apt upgrade -y
 | 
				
			||||||
| 
						 | 
					@ -62,8 +55,8 @@ jobs:
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
					          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          tag_name: commit-$(git rev-parse --short HEAD)
 | 
					          tag_name: ${{ env.TAG_NAME }}
 | 
				
			||||||
          release_name: commit-$(git rev-parse --short HEAD)
 | 
					          release_name: ${{ env.TAG_NAME }}
 | 
				
			||||||
          draft: false
 | 
					          draft: false
 | 
				
			||||||
          prerelease: false
 | 
					          prerelease: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue