mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Replace deprecated set-output in GitHub actions
This patch fixes #3011. This patch fixes the depracation warning regarding the usage of `set-output`. This patch fixes the issues by switching the following format: ``` echo ::set-output name=[name]::[value] ``` into the following format: ``` echo "[name]=[value]" >> ${GITHUB_OUTPUT} ```
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/publish-docker-images.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/publish-docker-images.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,10 +1,10 @@
 | 
			
		||||
---
 | 
			
		||||
on:
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: '0 4 * * *' # Every day at 4:00am
 | 
			
		||||
    - cron: "0 4 * * *" # Every day at 4:00am
 | 
			
		||||
  push:
 | 
			
		||||
    tags:
 | 
			
		||||
      - '*'
 | 
			
		||||
      - "*"
 | 
			
		||||
 | 
			
		||||
name: Publish tagged images to Docker Hub
 | 
			
		||||
 | 
			
		||||
@@ -25,9 +25,9 @@ jobs:
 | 
			
		||||
          escaped_tag=$(printf "%q" ${{ github.ref_name }})
 | 
			
		||||
 | 
			
		||||
          if [[ $escaped_tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
 | 
			
		||||
            echo ::set-output name=stable::true
 | 
			
		||||
            echo "stable=true" >> ${GITHUB_OUTPUT}
 | 
			
		||||
          else
 | 
			
		||||
            echo ::set-output name=stable::false
 | 
			
		||||
            echo "stable=false" >> ${GITHUB_OUTPUT}
 | 
			
		||||
          fi
 | 
			
		||||
 | 
			
		||||
      # Check only the validity of the tag for official releases (not for pre-releases or other tags)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user