From 715bef44e2206e3bb61953adb3416373fd03a310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Gasc=C3=B3n?= <52170489+GerardGascon@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:55:47 +0200 Subject: [PATCH] try upload to itch --- .github/workflows/main.yml | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e956f7..3e940d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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/ \ No newline at end of file + env: + BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} + CHANNEL: ${{ matrix.targetPlatform }} + ITCH_GAME: roses + ITCH_USER: Geri8 + PACKAGE: build/${{ matrix.targetPlatform }} \ No newline at end of file