Skip to content

Merge pull request #88 from julianheckmann/feature/implement-logging #115

Merge pull request #88 from julianheckmann/feature/implement-logging

Merge pull request #88 from julianheckmann/feature/implement-logging #115

name: Publish Plugins
on:
push:
branches: ['main']
jobs:
build:
name: publish plugins
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
node-version: 'latest'
- uses: actions/setup-java@v3
with:
distribution: "corretto"
java-version: "17"
cache: 'gradle'
- name: update plugins.json
working-directory: src/echo-tools
run: node src/build-plugins-json.mjs
- name: npm install
run: ./gradlew npmInstall
- name: build plugins
run: ./gradlew buildPlugins
- name: push
run: |
git config --global user.name 'zach-herridge'
git config --global user.email 'zach-herridge@users.noreply.github.com'
git checkout -b "published-plugins"
git add public/** -f
git add dist_plugins/** -f
git commit -m "update plugins"
git push -f --set-upstream origin published-plugins