Skip to content

Commit

Permalink
ci: temporary remove "verify" from workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Anıl Mısırlıoğlu <misirlioglisamet@gmail.com>
  • Loading branch information
anilmisirlioglu committed Aug 1, 2021
1 parent 4525e31 commit 54da573
Showing 1 changed file with 54 additions and 53 deletions.
107 changes: 54 additions & 53 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,59 +127,60 @@ 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:
name: Verify
needs: build
runs-on: ubuntu-latest
steps:

# Setup Java 11 environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 11

# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v2

# Cache Gradle Dependencies
- name: Setup Gradle Dependencies Cache
uses: actions/cache@v2
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/cache@v2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}

# Set environment variables
- name: Export Properties
id: properties
shell: bash
run: |
PROPERTIES="$(./gradlew properties --console=plain -q)"
IDE_VERSIONS="$(echo "$PROPERTIES" | grep "^pluginVerifierIdeVersions:" | base64)"
echo "::set-output name=ideVersions::$IDE_VERSIONS"
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
# Cache Plugin Verifier IDEs
- name: Setup Plugin Verifier IDEs Cache
uses: actions/cache@v2.1.6
with:
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }}

# Run IntelliJ Plugin Verifier action using GitHub Action
- name: Verify Plugin
run: ./gradlew runPluginVerifier -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}
# # Verify built plugin using IntelliJ Plugin Verifier tool
# # Requires build job to be passed
# # TODO: Reactivate verification once the issue with 2021.2 is resolved
# verify:
# name: Verify
# needs: build
# runs-on: ubuntu-latest
# steps:
#
# # Setup Java 11 environment for the next steps
# - name: Setup Java
# uses: actions/setup-java@v1
# with:
# java-version: 11
#
# # Check out current repository
# - name: Fetch Sources
# uses: actions/checkout@v2
#
# # Cache Gradle Dependencies
# - name: Setup Gradle Dependencies Cache
# uses: actions/cache@v2
# 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/cache@v2
# with:
# path: ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
#
# # Set environment variables
# - name: Export Properties
# id: properties
# shell: bash
# run: |
# PROPERTIES="$(./gradlew properties --console=plain -q)"
# IDE_VERSIONS="$(echo "$PROPERTIES" | grep "^pluginVerifierIdeVersions:" | base64)"
#
# echo "::set-output name=ideVersions::$IDE_VERSIONS"
# echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
#
# # Cache Plugin Verifier IDEs
# - name: Setup Plugin Verifier IDEs Cache
# uses: actions/cache@v2.1.6
# with:
# path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
# key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }}
#
# # Run IntelliJ Plugin Verifier action using GitHub Action
# - name: Verify Plugin
# run: ./gradlew runPluginVerifier -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}

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

0 comments on commit 54da573

Please sign in to comment.