reduce to 2023.2 #21
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
name: Build Plugin | |
on: push | |
#on: | |
# push: | |
# branches: [ "master" ] | |
# pull_request: | |
# branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
env: | |
CI_BUILD_VERSION: build.test.${{ github.run_number }} | |
RUNNER_NUMBER: ${{ github.run_number }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build | |
run: | | |
chmod 777 gradlew | |
./gradlew.bat buildPlugin | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: ${{ env.CI_BUILD_VERSION }} | |
path: build/distributions/*.zip |