mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
CODEBASE: Steam development branch updating action (#370)
This commit is contained in:
parent
ed59f4bfe7
commit
56ce1df0c8
29
.github/workflows/steamUpdate.yml
vendored
Normal file
29
.github/workflows/steamUpdate.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# update the steam development version
|
||||||
|
name: "Deploy dev to steam development branch"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Setup steamcmd
|
||||||
|
uses: CyberAndrii/setup-steamcmd@v1
|
||||||
|
|
||||||
|
- name: Checkout dev branch
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: dev
|
||||||
|
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
|
||||||
|
- name: Build and deploy
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm run build
|
||||||
|
npm run electron
|
||||||
|
steamcmd +login ${{ secrets.STEAM_USERNAME }} ${{ secrets.STEAM_PASSWORD }} +run_app_build ../tools/steamdev.vdf +quit
|
40
tools/steamdev.vdf
Normal file
40
tools/steamdev.vdf
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
"AppBuild"
|
||||||
|
{
|
||||||
|
"AppID" "1812820"
|
||||||
|
"Desc" "Dev update from github action"
|
||||||
|
|
||||||
|
"ContentRoot" "/"
|
||||||
|
"BuildOutput" "/"
|
||||||
|
"SetLive" "development"
|
||||||
|
|
||||||
|
"Depots"
|
||||||
|
{
|
||||||
|
"1812821"
|
||||||
|
{
|
||||||
|
"FileMapping"
|
||||||
|
{
|
||||||
|
"LocalPath" ".build/bitburner-win32-x64/*"
|
||||||
|
"DepotPath" "."
|
||||||
|
"recursive" "1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"1812822"
|
||||||
|
{
|
||||||
|
"FileMapping"
|
||||||
|
{
|
||||||
|
"LocalPath" ".build/bitburner-darwin-x64/*"
|
||||||
|
"DepotPath" "."
|
||||||
|
"recursive" "1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"1812823"
|
||||||
|
{
|
||||||
|
"FileMapping"
|
||||||
|
{
|
||||||
|
"LocalPath" ".build/bitburner-linux-x64/*"
|
||||||
|
"DepotPath" "."
|
||||||
|
"recursive" "1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user