Steamworks v1
This commit is contained in:
parent
fa706cf2d7
commit
445fbf6ad7
|
@ -4,18 +4,42 @@ on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
ITCH_USERNAME:
|
ITCH_USERNAME:
|
||||||
|
description: For uploading to itch.io
|
||||||
required: false
|
required: false
|
||||||
ITCH_GAME_ID:
|
ITCH_GAME_ID:
|
||||||
|
description: For uploading to itch.io
|
||||||
|
required: false
|
||||||
|
STEAM_APP_ID:
|
||||||
|
description: For uploading to Steamworks
|
||||||
|
required: false
|
||||||
|
STEAM_RELEASE_BRANCH:
|
||||||
|
description: For uploading to Steamworks
|
||||||
required: false
|
required: false
|
||||||
secrets:
|
secrets:
|
||||||
BUTLER_API_KEY:
|
|
||||||
required: false
|
|
||||||
PIPELINE_WORKER_SSH_KEY:
|
PIPELINE_WORKER_SSH_KEY:
|
||||||
|
description: Used for accessing private dependencies.
|
||||||
|
type: string
|
||||||
required: true
|
required: true
|
||||||
PIPELINE_WORKER_KNOWN_HOSTS:
|
PIPELINE_WORKER_KNOWN_HOSTS:
|
||||||
|
description: Used for accessing private dependencies.
|
||||||
|
type: string
|
||||||
required: true
|
required: true
|
||||||
PIPELINE_WORKER_USERNAME:
|
PIPELINE_WORKER_USERNAME:
|
||||||
|
description: Used for accessing private dependencies.
|
||||||
|
type: string
|
||||||
required: true
|
required: true
|
||||||
|
BUTLER_API_KEY:
|
||||||
|
description: API key for accessing itch.io Butler API
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
STEAM_USERNAME:
|
||||||
|
description: Username for Steam uploading user
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
STEAM_CONFIG_VDF:
|
||||||
|
description: VDF configuration including access key
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package:
|
package:
|
||||||
|
@ -74,6 +98,7 @@ jobs:
|
||||||
itchUsername: ${{ inputs.ITCH_USERNAME }}
|
itchUsername: ${{ inputs.ITCH_USERNAME }}
|
||||||
itchGameId: ${{ inputs.ITCH_GAME_ID }}
|
itchGameId: ${{ inputs.ITCH_GAME_ID }}
|
||||||
buildChannel: love-linux-mac
|
buildChannel: love-linux-mac
|
||||||
|
|
||||||
- uses: KikimoraGames/itch-publish@v0.0.3
|
- uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID
|
if: always() && github.event_name == 'release' && inputs.ITCH_GAME_ID
|
||||||
with:
|
with:
|
||||||
|
@ -82,3 +107,18 @@ jobs:
|
||||||
itchUsername: ${{ inputs.ITCH_USERNAME }}
|
itchUsername: ${{ inputs.ITCH_USERNAME }}
|
||||||
itchGameId: ${{ inputs.ITCH_GAME_ID }}
|
itchGameId: ${{ inputs.ITCH_GAME_ID }}
|
||||||
buildChannel: win64
|
buildChannel: win64
|
||||||
|
|
||||||
|
# Upload to steam
|
||||||
|
|
||||||
|
- uses: game-ci/steam-deploy@v3
|
||||||
|
if: always() && github.event_name == 'release' && inputs.STEAM_APP_ID
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.STEAM_USERNAME }}
|
||||||
|
configVdf: ${{ secrets.STEAM_CONFIG_VDF }}
|
||||||
|
appId: ${{ inputs.STEAM_APP_ID }}
|
||||||
|
buildDescription: v0.0.1 # TODO
|
||||||
|
rootPath: .
|
||||||
|
#depot1Path: StandaloneWindows64
|
||||||
|
depot2Path: ${{ steps.findfiles.outputs.win64 }}
|
||||||
|
releaseBranch: ${{ secrets.STEAM_RELEASE_BRANCH }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user