Skip to content

Commit 697faa9

Browse files
committed
chore: updating buttler action for itch.io
1 parent 1182ebf commit 697faa9

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish_itchio.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,19 @@ jobs:
1414
file: python_pygame_loader_demo.zip
1515
env:
1616
GITHUB_TOKEN: "${{ secrets.GH_CREDENTIALS }}"
17+
outputs:
18+
bundle_version: ${{ steps.download-html.outputs.version }}
1719
itchio_upload:
1820
runs-on: ubuntu-latest
21+
needs: release_html
1922
steps:
2023
- name: Setup butler (HTML5)
2124
uses: remarkablegames/setup-butler@v2
2225

2326
- name: Upload to itch.io
24-
run: butler push python_pygame_loader_demo.zip kerodekroma/python-pygame-loader:html --userversion ${{ env.BUNDLE_VERSION }}
27+
run: |
28+
butler push python_pygame_loader_demo.zip \
29+
kerodekroma/python-pygame-loader:html \
30+
--userversion "${{ needs.release_html.outputs.bundle_version }}"
2531
env:
26-
BUNDLE_VERSION: ${{ steps.download-html.outputs.version }}
2732
BUTLER_API_KEY: ${{ secrets.BUTLER_CREDENTIALS }}

0 commit comments

Comments
 (0)