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