Skip to content

Commit

Permalink
Preview build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadael committed May 18, 2024
1 parent 19ab703 commit 3470b1f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,25 +121,33 @@ jobs:
tag: ${{ github.ref }}
file_glob: true

publish-nightly:
name: Publish nightly
publish-preview:
name: Publish preview build
runs-on: ubuntu-latest
needs: [build, build-mac]
steps:
- uses: actions/checkout@v4
with:
ref: master
- uses: actions/download-artifact@v4
with:
path: _artifacts
- name: Delete old release assets
uses: mknejp/delete-release-assets@v1
- name: Delete old preview release
run: |
gh release delete Preview --repo ${{ github.repository }} --yes || true
- name: Create new preview release
uses: softprops/action-gh-release@v1
with:
token: ${{ github.token }}
tag: Nightly # This may also be of the form 'refs/tags/staging'
fail-if-no-assets: false
assets: '*'
tag_name: Preview
name: Preview
body: |
⚠ Could be crash bugs in this one, this rebuilds for every commit. I especially recommend avoiding this if it's less than a day old. ⚠
draft: false
prerelease: true
- name: Upload release assets
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: _artifacts/**/*.vcvplugin
tag: Nightly
tag: Preview
file_glob: true
2 changes: 1 addition & 1 deletion src/spine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ struct Spine : Module {
Spine() {
config(PARAMS_LEN, INPUTS_LEN, OUTPUTS_LEN, LIGHTS_LEN);
// Configure the toggle switch parameter with a label and a tooltip for additional detail
configParam(TOGGLE_SWITCH, 0.f, 1.f, 0.f, "Alt Mode: Process at audio rate (CPU heavy)");
configParam(TOGGLE_SWITCH, 0.f, 1.f, 0.f, "Alt Mode: Process at audio rate instead of 10ms");

// Configure the main polyphonic input
configInput(X_INPUT, "x");
Expand Down

0 comments on commit 3470b1f

Please sign in to comment.