Only upgrade the package that matters (for speed)

This commit is contained in:
Finn Ellis 2020-03-08 05:34:34 -07:00
parent d5ec0e7301
commit 28dbb1de9b
2 changed files with 2 additions and 5 deletions

View File

@ -5,13 +5,12 @@ LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butl
LABEL "com.github.actions.icon"="upload"
LABEL "com.github.actions.color"="white"
RUN yum update -y
# Install Butler
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
RUN chmod +x /usr/bin/butler
RUN butler upgrade --assume-yes
# Run butler push
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -4,8 +4,6 @@ set -e
mkdir -p ~/.config/itch
echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
butler upgrade --assume-yes
versionArgument=""
if [ "$VERSION" != "" ]