try upload to itch
This commit is contained in:
parent
36b65c8510
commit
715bef44e2
1 changed files with 16 additions and 19 deletions
35
.github/workflows/main.yml
vendored
35
.github/workflows/main.yml
vendored
|
@ -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 }}
|
Loading…
Add table
Add a link
Reference in a new issue