2023-03-11 23:07:08 +01:00
|
|
|
# update the steam development version
|
|
|
|
name: "Steam dev update"
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Setup steamcmd
|
|
|
|
uses: CyberAndrii/setup-steamcmd@v1
|
|
|
|
|
|
|
|
- name: Checkout dev branch
|
2024-08-15 22:08:21 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-03-11 23:07:08 +01:00
|
|
|
with:
|
|
|
|
ref: dev
|
|
|
|
|
|
|
|
- name: Setup node
|
2024-08-15 22:08:21 +02:00
|
|
|
uses: actions/setup-node@v4
|
2023-03-11 23:07:08 +01:00
|
|
|
with:
|
2024-08-15 22:08:21 +02:00
|
|
|
node-version: 20
|
2023-03-11 23:07:08 +01:00
|
|
|
|
|
|
|
- name: Build and deploy
|
|
|
|
run: |
|
|
|
|
npm ci
|
|
|
|
npm run build
|
|
|
|
npm run electron
|
|
|
|
steamcmd +login ${{ secrets.STEAM_BUILD_USERNAME }} ${{ secrets.STEAM_BUILD_PASSWORD }} +run_app_build ../tools/steamdev.vdf +quit
|