#2876 #2873 Better handling of async/await syntax #1
Workflow file for this run
This file contains 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
# reusable workflow for building and uploading plugins | |
# This workflow will build a Java project with Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: Plugins | |
on: | |
workflow_call: | |
jobs: | |
build-plugins: | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
ORG_GRADLE_PROJECT_downloadIdeaSources: false | |
CI: GitHub | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: 21 | |
- name: Build plugins with Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: true | |
run: | | |
./gradlew buildPlugin --console plain | |
- name: Upload Plugins | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plugins | |
path: | | |
./plugin/build/distributions/*.zip | |
./embedded/build/distributions/*.zip | |
./mason/core/build/distributions/*.zip | |
./mason/mason2/build/distributions/*.zip | |
./mason/htmlmason/build/distributions/*.zip | |
./mojo/build/distributions/*.zip | |
./tt2/build/distributions/*.zip |