Skip to content

Merge branch 'develop' into steam-beta #370

Merge branch 'develop' into steam-beta

Merge branch 'develop' into steam-beta #370

name: 'Steam Beta Build'
on:
push:
branches:
- steam-beta
jobs:
build-steam-beta-release:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
platform: [self-hosted]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Get Package Version
id: get-package-version
uses: stevenbenitez/get-package-version-action@v1
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 22.16
cache: npm
- name: Initialize the project
run: npm run ci
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: Unreleased
path: ./CHANGELOG.md
- name: Prepare Steamworks SDK
env:
STEAM_CONFIG_VDF: ${{ secrets.STEAM_CONFIG_VDF }}
STEAM_APP_ID: '2538150'
APP_VERSION: v${{ steps.get-package-version.outputs.version }}-beta
shell: bash
run: chmod +x ./scripts/steam/1-prepare-steam-sdk.sh && ./scripts/steam/1-prepare-steam-sdk.sh
- name: Set build id
run: npm run set-build-id
- name: Set flavour to STEAM
run: npm run set-flavour STEAM
- name: Build OyasumiVR (STEAM Flavour)
run: npm run tauri -- -- build --no-bundle --debug
- name: Copy STEAM build
shell: bash
run: chmod +x ./scripts/steam/2-move-build-steam.sh && ./scripts/steam/2-move-build-steam.sh
- name: Set flavour to STEAM_CN
run: npm run set-flavour STEAM_CN
- name: Build OyasumiVR (STEAM_CN Flavour)
run: npm run tauri -- -- build --no-bundle --debug
- name: Copy STEAM_CN build
shell: bash
run: chmod +x ./scripts/steam/3-move-build-steam-cn.sh && ./scripts/steam/3-move-build-steam-cn.sh
- name: Deploy to Steam
env:
STEAM_BUILD_USER: ${{ secrets.STEAM_BUILD_USER }}
STEAM_APP_ID: '2538150'
shell: bash
run: chmod +x ./scripts/steam/4-steam-deploy.sh && ./scripts/steam/4-steam-deploy.sh