try upload to itch

This commit is contained in:
Gerard Gascón 2024-04-17 20:55:47 +02:00
parent 36b65c8510
commit 715bef44e2

View file

@ -32,8 +32,15 @@ jobs:
githubToken: ${{ secrets.GITHUB_TOKEN }}
build:
needs: test
name: Build my project ✨
runs-on: ubuntu-latest
strategy:
fail-fast: false # if one build fails, other platforms will still be built
matrix:
targetPlatform:
- StandaloneWindows64
steps:
# Checkout
- name: Checkout repository
@ -57,25 +64,15 @@ jobs:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: StandaloneWindows64
targetPlatform: ${{ matrix.targetPlatform }}
allowDirtyBuild: true
buildName: Roses
buildName: Roses-${{ matrix.targetPlatform }}
# Output
- uses: actions/upload-artifact@v3
with:
name: Build
path: build
deploy:
name: Deploy my project
needs: [build, test]
runs-on: ubuntu-latest
steps:
# Deploy
- uses: manleydev/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: ${{ targetPlatform }}
ITCH_GAME: roses
ITCH_USER: Geri8
PACKAGE: build/
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: ${{ matrix.targetPlatform }}
ITCH_GAME: roses
ITCH_USER: Geri8
PACKAGE: build/${{ matrix.targetPlatform }}