Skip to content

feature: make it possible to adjust volume relative to main player #212

feature: make it possible to adjust volume relative to main player

feature: make it possible to adjust volume relative to main player #212

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
failOnError: true
commitMode: true
configuration: ".release-notes-config.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: ${{steps.build_changelog.outputs.changelog}}
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Build
- name: Build the file
run: |
cd /home/runner/work/custom-sonos-card/custom-sonos-card
npm install
npm run build
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/custom-sonos-card/custom-sonos-card/dist/custom-sonos-card.js
asset_name: custom-sonos-card.js
tag: ${{ github.ref }}
overwrite: true