diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c955273..670e495 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,17 +18,6 @@ jobs: git reset --hard git clean -fd - - name: Install Butler - run: | - curl -LO https://itch.io/butler/installation/linux/butler - chmod +x butler - sudo mv butler /usr/local/bin/ - - - name: Verify Butler Installation - run: | - which butler - butler --version - - name: Build Unity Project uses: game-ci/unity-builder@v4 env: @@ -45,5 +34,10 @@ jobs: zip -r SubnauticaIB.zip ./build/* - name: Upload to Butler - run: | - butler push SubnauticaIB.zip pyoneerc1/subnauticaib:latest --credentials ${{ secrets.BUTLER_CREDENTIALS }} + uses: yeslayla/butler-publish-itchio-action@v1.0.3 + env: + BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} + CHANNEL: windows + ITCH_GAME: pyoneerc1/subnauticaib + ITCH_USER: pyoneerc1 + PACKAGE: SubnauticaIB.zip