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