|
|
|
@ -3,7 +3,7 @@ name: Deploy to Steam
|
|
|
|
|
on:
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
inputs:
|
|
|
|
|
commit_hash:
|
|
|
|
|
ref:
|
|
|
|
|
description: Branch or commit hash
|
|
|
|
|
type: string
|
|
|
|
|
required: true
|
|
|
|
@ -32,7 +32,7 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
submodules: true
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
ref: ${{ github.event.inputs.commit_hash }}
|
|
|
|
|
ref: ${{ github.event.inputs.ref }}
|
|
|
|
|
- name: Get 3rd party SDKs
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
with:
|
|
|
|
@ -44,9 +44,8 @@ jobs:
|
|
|
|
|
uses: actions/cache@v3
|
|
|
|
|
with:
|
|
|
|
|
path: build/win64-cross/ccache
|
|
|
|
|
key: ccache-win64-cross-msvc-${{ github.event.inputs.commit_hash }}
|
|
|
|
|
key: ccache-win64-cross-msvc-${{ github.sha }}
|
|
|
|
|
restore-keys: |
|
|
|
|
|
ccache-win64-cross-msvc-${{ github.event.inputs.commit_hash }}
|
|
|
|
|
ccache-win64-cross-msvc
|
|
|
|
|
- name: Cross-compile win64 artifacts
|
|
|
|
|
env:
|
|
|
|
@ -54,7 +53,8 @@ jobs:
|
|
|
|
|
steam_username: ${{ secrets.STEAM_SDK_USERNAME }}
|
|
|
|
|
steam_password: ${{ secrets.STEAM_SDK_PASSWORD }}
|
|
|
|
|
run: |
|
|
|
|
|
echo "commit: ${{ github.event.inputs.commit_hash }}"
|
|
|
|
|
echo "ref: ${{ github.event.inputs.ref }}"
|
|
|
|
|
echo "sha: ${{ github.sha }}"
|
|
|
|
|
echo "version: ${{ github.event.inputs.version }}"
|
|
|
|
|
echo "release_channel: ${{ github.event.inputs.release_channel }}"
|
|
|
|
|
echo
|
|
|
|
|