Skip to content

Commit

Permalink
Separate build and upload jobs on native
Browse files Browse the repository at this point in the history
Windows doesn't support the butler push workflow.
  • Loading branch information
nonk123 committed May 28, 2024
1 parent b87e3ff commit af01f76
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,19 @@ jobs:
with:
name: ${{matrix.config.fancy_name}}
path: ${{matrix.config.name}}.tar
upload:
name: Upload channel ${{matrix.distribution}} to itch.io
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
distribution: [linux-gnu, windows-msvc]
steps:
- name: Upload to itch.io
uses: manleydev/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: ${{matrix.config.name}}
CHANNEL: ${{matrix.distribution}}
ITCH_GAME: codename-pedestrian
ITCH_USER: nonk123
PACKAGE: dist-${{matrix.config.name}}
PACKAGE: dist-${{matrix.distribution}}

0 comments on commit af01f76

Please sign in to comment.