Skip to content

Commit 8a8c3c6

Browse files
committed
chore: updating buttler action for itch.io
1 parent 48ef223 commit 8a8c3c6

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
name: "Publish to itch.io"
2+
23
on:
34
release:
45
types: [published]
6+
57
jobs:
6-
release_html:
8+
publish:
79
runs-on: ubuntu-latest
8-
name: fecth from GITHUB
10+
911
steps:
10-
- name: download zip file
12+
- name: Download zip file
1113
id: download-html
1214
uses: dsaltares/fetch-gh-release-asset@master
1315
with:
1416
file: python_pygame_loader_demo.zip
1517
env:
16-
GITHUB_TOKEN: "${{ secrets.GH_CREDENTIALS }}"
17-
itchio_upload:
18-
runs-on: ubuntu-latest
19-
needs: release_html
20-
steps:
21-
- name: Setup butler (HTML5)
22-
uses: remarkablegames/setup-butler@v2
18+
GITHUB_TOKEN: ${{ secrets.GH_CREDENTIALS }}
2319

24-
- name: Upload to itch.io
25-
run: |
26-
butler push python-pygame-loader.zip \
27-
kerodekroma/python-pygame-loader:html \
28-
--userversion "${{ github.event.release.tag_name }}"
29-
env:
30-
BUTLER_API_KEY: ${{ secrets.BUTLER_CREDENTIALS }}
20+
- name: Setup butler
21+
uses: remarkablegames/setup-butler@v2
22+
23+
- name: Upload to itch.io
24+
run: |
25+
ls -la # 👈 debug: verify file exists
26+
butler push python_pygame_loader_demo.zip \
27+
kerodekroma/python-pygame-loader:html \
28+
--userversion "${{ github.event.release.tag_name }}"
29+
env:
30+
BUTLER_API_KEY: ${{ secrets.BUTLER_CREDENTIALS }}

0 commit comments

Comments
 (0)