mirror of
				https://github.com/kewlfft/ansible-aur.git
				synced 2025-11-04 10:02:30 +03:00 
			
		
		
		
	Fix output syntax
A while ago Github deprecated and removed the ::set-output syntax in favor of appending to the GITHUB_OUTPUT.
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/galaxy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/galaxy.yml
									
									
									
									
										vendored
									
									
								
							@@ -23,7 +23,7 @@ jobs:
 | 
				
			|||||||
        id: version
 | 
					        id: version
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          [ "$(cat galaxy.yml | grep version: | awk '{print $2}')" = $(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF}) ] || exit 1
 | 
					          [ "$(cat galaxy.yml | grep version: | awk '{print $2}')" = $(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF}) ] || exit 1
 | 
				
			||||||
          echo ::set-output name=version::$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF})
 | 
					          echo "version=$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF})" >> $GITHUB_OUTPUT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: "Set up Python"
 | 
					      - name: "Set up Python"
 | 
				
			||||||
        uses: actions/setup-python@v5
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user