Skip to content

Commit 380f0d6

Browse files
committed
Revert to template
1 parent c245579 commit 380f0d6

File tree

2 files changed

+14
-43
lines changed

2 files changed

+14
-43
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -68,27 +68,15 @@ jobs:
6868
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
6969
7070
# Cache Plugin Verifier IDEs
71-
- name : Setup Plugin Verifier IDEs Cache
72-
uses : actions/cache@v2.1.6
73-
with :
74-
path : ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
75-
key : ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }}
76-
77-
# Cache Qodana
78-
- name : Setup Qodona Cache
79-
uses : actions/cache@v2.1.6
80-
with :
81-
path : /home/runner/work/_temp/_github_home/qodana-cache
82-
key : ${{ runner.os }}-qudona-cache
71+
- name: Setup Plugin Verifier IDEs Cache
72+
uses: actions/cache@v2.1.6
73+
with:
74+
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
75+
key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }}
8376

8477
# Run Qodana inspections
85-
- name : Qodana - Code Inspection
86-
uses : JetBrains/qodana-action@v2.2.1-eap
87-
with :
88-
fail-threshold : 10
89-
cache-dir : /home/runner/work/_temp/_github_home/qodana-cache
90-
inspected-dir : src
91-
save-html-report : true
78+
- name: Qodana - Code Inspection
79+
uses: JetBrains/qodana-action@v2.1-eap
9280

9381
# Run tests
9482
- name: Run Tests
@@ -143,22 +131,15 @@ jobs:
143131
echo "::set-output name=changelog::$CHANGELOG"
144132
145133
# Build artifact using buildPlugin Gradle task
146-
- name : Build Plugin
147-
run : ./gradlew buildPlugin
148-
149-
# Store built plugin as an artifact for downloading
150-
- name : Upload artifacts
151-
uses : actions/upload-artifact@v2.2.4
152-
with :
153-
name : "${{ steps.properties.outputs.name }} - ${{ steps.properties.outputs.version }}"
154-
path : ./build/distributions/*
134+
- name: Build Plugin
135+
run: ./gradlew buildPlugin
155136

156137
# Store built plugin as an artifact for downloading
157-
- name : Upload artifacts
158-
uses : actions/upload-artifact@v2.2.4
159-
with :
160-
name : "${{ steps.properties.outputs.name }} - ${{ steps.properties.outputs.version }} - Qodona results"
161-
path : "${{ github.workspace }}/qodana"
138+
- name: Upload artifacts
139+
uses: actions/upload-artifact@v2.2.4
140+
with:
141+
name: "${{ steps.properties.outputs.name }} - ${{ steps.properties.outputs.version }}"
142+
path: ./build/distributions/*
162143

163144
# Prepare a draft release for GitHub Releases page for the manual verification
164145
# If accepted and published, release workflow would be triggered

build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,4 @@ tasks {
124124
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
125125
channels.set(listOf(properties("pluginVersion").split('-').getOrElse(1) { "default" }.split('.').first()))
126126
}
127-
128-
// runIde {
129-
// jvmArgs("--add-exports", "java.base/jdk.internal.vm=ALL-UNNAMED")
130-
// ideDir.set(File(properties("ideDir")))
131-
// ideDirectory("C:\\Users\\vagrant\\AppData\\Local\\JetBrains\\Toolbox\\apps\\PhpStorm\\ch-0\\202.7660.42")
132-
// }
133-
134-
// runInspections {
135-
// dockerArg("-u 1000:1000")
136-
// }
137127
}

0 commit comments

Comments
 (0)