mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-01 22:32:35 -08:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
35 lines
860 B
YAML
35 lines
860 B
YAML
# This workflow will build the update manifest for the updater and update a GitHub release
|
|
|
|
name: Generate update manifest
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [released]
|
|
|
|
jobs:
|
|
generate-manifest:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '22.x'
|
|
|
|
- name: Generate update-manifest.json
|
|
run: |
|
|
npx @slimevr/update-manifest-generator@latest
|
|
|
|
- uses: actions/upload-artifact@v6
|
|
with:
|
|
name: "update-manifest.json"
|
|
path: ./update-manifest.json
|
|
|
|
- name: Upload update-manifest.json to release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
tag_name: ${{ secrets.UPDATE_MANIFEST_RELEASE_TAG }}
|
|
files: ./update-manifest.json
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|