Skip to content

Merge branch 'steam-beta' #94

Merge branch 'steam-beta'

Merge branch 'steam-beta' #94

Workflow file for this run

name: 'Release Build'
on:
push:
branches:
- master
- main
jobs:
build-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: Set flavour to STANDALONE
run: npm run set-flavour STANDALONE
- name: Set build id
run: npm run set-build-id
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ steps.get-package-version.outputs.version }}
path: ./CHANGELOG.md
- name: Build and release OyasumiVR
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: oyasumivr-v${{ steps.get-package-version.outputs.version }}
releaseName: OyasumiVR v${{ steps.get-package-version.outputs.version }}
releaseBody: ${{ steps.changelog_reader.outputs.changes }}
releaseDraft: false
includeUpdaterJson: true
- name: Update the update manifest
uses: Raphiiko/actions-deploy-gist@main
with:
token: ${{ secrets.GH_TOKEN_GIST }}
gist_id: 16ed38d8ccd9282675d04478f887f76f
file_path: latest.json
gist_file_name: 'oyasumi_update_manifest.json'
gist_description: OyasumiVR Update Manifest [Release Channel]