| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -19,7 +19,7 @@ jobs:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          
 | 
					 | 
					 | 
					 | 
					          
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          # Envoyer une demande PATCH à l'API GitHub pour mettre à jour la variable secrète
 | 
					 | 
					 | 
					 | 
					          # Envoyer une demande PATCH à l'API GitHub pour mettre à jour la variable secrète
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          echo -n $PROGRAM_VERSION | base64 --wrap=0 > program_version_base64.txt
 | 
					 | 
					 | 
					 | 
					          echo -n $PROGRAM_VERSION | base64 --wrap=0 > program_version_base64.txt
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          curl -X PATCH -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/<OWNER>/<REPO>/actions/secrets/PROGRAM_VERSION -d '{"encrypted_value":"'"$(cat program_version_base64.txt)"'"}'
 | 
					 | 
					 | 
					 | 
					          curl -X PATCH -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/aguyonp/docker-glpi-automated/actions/secrets/PROGRAM_VERSION -d '{"encrypted_value":"'"$(cat program_version_base64.txt)"'"}'
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        else
 | 
					 | 
					 | 
					 | 
					        else
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          echo "Le programme est à jour."
 | 
					 | 
					 | 
					 | 
					          echo "Le programme est à jour."
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          exit 1 # Arrête la pipeline avec un code d'erreur
 | 
					 | 
					 | 
					 | 
					          exit 1 # Arrête la pipeline avec un code d'erreur
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |