-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to intellij-platform-plugin-template v0.10.1 (#236)
* Update to intellij-platform-plugin-template v0.10.1 * Update GrammarKit to 2021.1.3 * Update gradle-intellij-plugin to 1.1.2
- Loading branch information
1 parent
dc3c6ae
commit 46cd8f5
Showing
5 changed files
with
66 additions
and
62 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,13 @@ | |
## JBIJPPTPL | ||
|
||
name: Build | ||
on: [push, pull_request] | ||
on: | ||
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests) | ||
push: | ||
branches: [main] | ||
# Trigger the workflow on any pull request | ||
pull_request: | ||
|
||
jobs: | ||
|
||
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum | ||
|
@@ -25,11 +31,11 @@ jobs: | |
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v2.3.4 | ||
|
||
# Validate wrapper | ||
- name: Gradle Wrapper Validation | ||
uses: gradle/[email protected].3 | ||
uses: gradle/[email protected].4 | ||
|
||
# Run verifyPlugin and test Gradle tasks | ||
test: | ||
|
@@ -40,24 +46,25 @@ jobs: | |
|
||
# Setup Java 11 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 11 | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v2.3.4 | ||
|
||
# Cache Gradle dependencies | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
@@ -85,24 +92,25 @@ jobs: | |
|
||
# Setup Java 11 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 11 | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v2.3.4 | ||
|
||
# Cache Gradle Dependencies | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
@@ -132,7 +140,7 @@ jobs: | |
|
||
# Upload plugin artifact to make it available in the next jobs | ||
- name: Upload artifact | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
name: plugin-artifact | ||
path: ./build/distributions/${{ steps.properties.outputs.artifact }} | ||
|
@@ -147,24 +155,25 @@ jobs: | |
|
||
# Setup Java 11 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 11 | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v2.3.4 | ||
|
||
# Cache Gradle Dependencies | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
@@ -182,7 +191,7 @@ jobs: | |
# Cache Plugin Verifier IDEs | ||
- name: Setup Plugin Verifier IDEs Cache | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides | ||
key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }} | ||
|
@@ -202,7 +211,7 @@ jobs: | |
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v2.3.4 | ||
|
||
# Remove old release drafts by using the curl request for the available releases with draft flag | ||
- name: Remove Old Release Drafts | ||
|
@@ -218,7 +227,7 @@ jobs: | |
# Create new release draft - which is not publicly visible and requires manual acceptance | ||
- name: Create Release Draft | ||
id: createDraft | ||
uses: actions/create-release@v1 | ||
uses: actions/create-release@v1.1.4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
@@ -236,7 +245,7 @@ jobs: | |
# Upload artifact as a release asset | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
uses: actions/upload-release-asset@v1.0.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |