README - wip

This commit is contained in:
Jakub Chrzanowski
2020-06-19 09:51:04 +02:00
parent 43fab323d4
commit 99e98e4f48
4 changed files with 71 additions and 30 deletions

View File

@@ -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'

View File

@@ -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 }}

View File

@@ -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: