Merge pull request 'Add workflow' (#3) from feature/workflow into main
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Commit Hash / CommitHash (push) Successful in 1s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Commit Hash / CommitHash (push) Successful in 1s
				
			Reviewed-on: #3
This commit is contained in:
		
						commit
						df8786c8e1
					
				
							
								
								
									
										13
									
								
								.gitea/workflows/commit-hash.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.gitea/workflows/commit-hash.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
name: Commit Hash
 | 
			
		||||
run-name: Print commit hash
 | 
			
		||||
on: [ push ]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  CommitHash:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Print commit hash
 | 
			
		||||
        run: |
 | 
			
		||||
          hash=${{env.GITHUB_SHA}}
 | 
			
		||||
          echo ${hash::10}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user