mirror of
https://github.com/yeslayla/butler-publish-itchio-action.git
synced 2025-12-06 08:13:22 +01:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eed59bf1db | |||
| 83ce22b4f5 | |||
|
|
fd5d4c2fa4 | ||
| ab302bc769 | |||
| cb6573e42b | |||
| 49e6220958 | |||
| 53fdf15e50 | |||
|
|
dea5c0fee7 | ||
|
|
b1f7d404eb | ||
|
|
429eea9b6d |
13
Dockerfile
13
Dockerfile
@@ -1,16 +1,19 @@
|
||||
FROM centos:8
|
||||
FROM rockylinux:8
|
||||
|
||||
LABEL "com.github.actions.name"="Butler Push"
|
||||
LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butler"
|
||||
LABEL "com.github.actions.icon"="upload"
|
||||
LABEL "com.github.actions.color"="white"
|
||||
|
||||
RUN dnf install unzip -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 curl -L -o butler.zip https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default \
|
||||
&& unzip butler.zip \
|
||||
&& cp butler /usr/bin \
|
||||
&& chmod +x /usr/bin/butler
|
||||
|
||||
# Run butler push
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Butler Push
|
||||
|
||||
This action pushes packages to itch.io with butler to easily automated releases.
|
||||
This action pushes packages to itch.io with butler to easily automate releases.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -10,7 +10,7 @@ Example:
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: josephbmanley/butler-publish-itchio-action@master
|
||||
- uses: yeslayla/butler-publish-itchio-action@master
|
||||
env:
|
||||
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
|
||||
CHANNEL: windows
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: "Butler Push"
|
||||
description: "Publish releases to Itch.io using Butler"
|
||||
author: josephbmanley
|
||||
author: yeslayla
|
||||
runs:
|
||||
using: docker
|
||||
image: Dockerfile
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
mkdir -p ~/.config/itch
|
||||
echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
|
||||
export BUTLER_API_KEY=$BUTLER_CREDENTIALS
|
||||
|
||||
versionArgument=""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user