Attach only the current version's archive to the release #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |