mirror of
				https://github.com/yeslayla/butler-publish-itchio-action.git
				synced 2025-11-04 08:33:07 +01:00 
			
		
		
		
	Only upgrade the package that matters (for speed)
This commit is contained in:
		@ -5,11 +5,10 @@ LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butl
 | 
				
			|||||||
LABEL "com.github.actions.icon"="upload"
 | 
					LABEL "com.github.actions.icon"="upload"
 | 
				
			||||||
LABEL "com.github.actions.color"="white"
 | 
					LABEL "com.github.actions.color"="white"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN yum update -y
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Install Butler
 | 
					# Install Butler
 | 
				
			||||||
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
 | 
					ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
 | 
				
			||||||
RUN chmod +x /usr/bin/butler
 | 
					RUN chmod +x /usr/bin/butler
 | 
				
			||||||
 | 
					RUN butler upgrade --assume-yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Run butler push
 | 
					# Run butler push
 | 
				
			||||||
ADD entrypoint.sh /entrypoint.sh
 | 
					ADD entrypoint.sh /entrypoint.sh
 | 
				
			||||||
 | 
				
			|||||||
@ -4,8 +4,6 @@ set -e
 | 
				
			|||||||
mkdir -p ~/.config/itch
 | 
					mkdir -p ~/.config/itch
 | 
				
			||||||
echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
 | 
					echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
 | 
				
			||||||
 | 
					
 | 
				
			||||||
butler upgrade --assume-yes
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
versionArgument=""
 | 
					versionArgument=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ "$VERSION" != "" ]
 | 
					if [ "$VERSION" != "" ]
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user