mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
README - wip
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
- name: Gradle Wrapper Validation
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
# Run verifyPlugin and test Gradle tasks.
|
||||
# Run verifyPlugin and test Gradle tasks
|
||||
test:
|
||||
name: Test
|
||||
needs: gradleValidation
|
||||
@@ -67,8 +67,8 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: ./gradlew test
|
||||
|
||||
# Build plugin with buildPlugin Gradle task and provide artifact for the next workflow jobs.
|
||||
# Requires test job to be passed.
|
||||
# Build plugin with buildPlugin Gradle task and provide the artifact for the next workflow jobs
|
||||
# Requires test job to be passed
|
||||
build:
|
||||
name: Build
|
||||
needs: test
|
||||
@@ -122,8 +122,8 @@ jobs:
|
||||
name: plugin-artifact
|
||||
path: ./build/distributions/${{ needs.build.outputs.artifact }}
|
||||
|
||||
# Verify built plugin using IntelliJ Plugin Verifier tool.
|
||||
# Requires build job to be passed.
|
||||
# Verify built plugin using IntelliJ Plugin Verifier tool
|
||||
# Requires build job to be passed
|
||||
verify:
|
||||
name: Verify
|
||||
needs: build
|
||||
@@ -154,8 +154,8 @@ jobs:
|
||||
echo "The verifier log file [$OUTPUT_LOG] contents : " ;
|
||||
cat $OUTPUT_LOG
|
||||
|
||||
# Prepare a draft release for GitHub Releases page for the manual verification.
|
||||
# If accepted and published, release workflow would be triggered.
|
||||
# Prepare a draft release for GitHub Releases page for the manual verification
|
||||
# If accepted and published, release workflow would be triggered
|
||||
releaseDraft:
|
||||
name: Release Draft
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -4,9 +4,11 @@
|
||||
name: Release
|
||||
on:
|
||||
release:
|
||||
types: [prereleased, released]
|
||||
types: [released]
|
||||
|
||||
jobs:
|
||||
|
||||
# Prepare and publish the plugin to the Marketplace repository
|
||||
release:
|
||||
name: Publish Plugin
|
||||
runs-on: ubuntu-latest
|
||||
@@ -30,7 +32,7 @@ jobs:
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||
restore-keys: ${{ runner.os }}-gradle-
|
||||
|
||||
# Publish plugin to the Marketplace
|
||||
# Publish the plugin to the Marketplace
|
||||
- name: Publish Plugin
|
||||
env:
|
||||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
|
||||
2
.github/workflows/template-cleanup.yml
vendored
2
.github/workflows/template-cleanup.yml
vendored
@@ -2,7 +2,7 @@
|
||||
# the template-specific files and configurations. This workflow is supposed to be triggered automatically
|
||||
# when a new template-based repository has been created.
|
||||
|
||||
name: Tempalte Cleanup
|
||||
name: Template Cleanup
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
Reference in New Issue
Block a user