避免 indexing 时查询 index #76
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: | |
branches: | |
- '*' | |
# pull_request: | |
# branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
CI_BUILD_VERSION: 1.4.0.${{ 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 2023.1 | |
env: | |
IDEA_VER: 231 | |
run: ./gradlew buildPlugin | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: v${{ env.CI_BUILD_VERSION }} | |
path: build/distributions/*.zip |