-
-
Notifications
You must be signed in to change notification settings - Fork 101
33 lines (27 loc) · 1.21 KB
/
release-steam-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: release-steam-windows
on: [workflow_dispatch, workflow_call]
jobs:
release-steam-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build Steam Marathon
uses: ./.github/actions/build-windows
with:
platform: x64
configurations: "Steam Marathon, Steam Marathon 2, Steam Marathon Infinity"
vcpkg_installed_folder: installed-x64-windows
- name: Bootstrap Steamcmd
continue-on-error: true #Steamcmd may throw error exit code while bootstrapping that we can ignore, we will see on upload if everything is working fine
run: |
Copy-Item -Path "vcpkg/installed-x64-windows/x64-windows-static/tools/steamworks-sdk" -Destination "Steam/steamcmd" -Recurse &&
./Steam/steamcmd/steamcmd.exe +quit
- name: Restore config.vdf
env:
CONFIG_VDF: ${{ secrets.CONFIG_VDF }}
run: echo $CONFIG_VDF | base64 --decode > Steam/steamcmd/config/config.vdf
shell: bash
- name: Deploy to Steam
run: ./Steam/steamcmd/steamcmd.exe +login alephone_upload +run_app_build ../m1_build.vdf +run_app_build ../m2_build.vdf +run_app_build ../inf_build.vdf +quit