Skip to content

Attach only the current version's archive to the release #9

Attach only the current version's archive to the release

Attach only the current version's archive to the release #9

Workflow file for this run

name: Build
on:
push:
branches: [main, master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Themes are up to date with tools/
run: |
python3 tools/generate.py
python3 tools/validate.py
git diff --exit-code src/main/resources/themes
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew buildPlugin
- run: ./gradlew verifyPlugin
- uses: actions/upload-artifact@v4
with:
name: plugin
path: build/distributions/*.zip