From 182afa073091d77f43f10d6b443e937560045790 Mon Sep 17 00:00:00 2001 From: Danil Ovchinnikov Date: Fri, 13 Sep 2024 00:15:08 +0300 Subject: [PATCH] update CI scripts --- .github/workflows/build.yml | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29f6888..be3c945 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }} steps: - # Check out current repository + # Check out the current repository - name: Fetch Sources uses: actions/checkout@v4 @@ -58,30 +58,10 @@ jobs: echo "$CHANGELOG" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - ./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier - # Build plugin - name: Build plugin run: ./gradlew buildPlugin - # Prepare plugin archive content for creating artifact - - name: Prepare Plugin Artifact - id: artifact - shell: bash - run: | - cd ${{ github.workspace }}/build/distributions - FILENAME=`ls *.zip` - unzip "$FILENAME" -d content - - echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT - - # Store already-built plugin as an artifact for downloading - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: ${{ steps.artifact.outputs.filename }} - path: ./build/distributions/content/*/* - # Run tests test: name: Test (${{ matrix.os }}) @@ -96,7 +76,7 @@ jobs: - macos-latest steps: - # Check out current repository + # Check out the current repository - name: Fetch Sources uses: actions/checkout@v4 @@ -120,7 +100,7 @@ jobs: # Collect Tests Result of failed tests - name: Collect Tests Result if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: tests-result path: ${{ github.workspace }}/build/reports/tests @@ -132,14 +112,7 @@ jobs: runs-on: ubuntu-latest steps: - # Free GitHub Actions Environment Disk Space - - name: Maximize Build Space - uses: jlumbroso/free-disk-space@main - with: - tool-cache: false - large-packages: false - - # Check out current repository + # Check out the current repository - name: Fetch Sources uses: actions/checkout@v4 @@ -173,4 +146,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: pluginVerifier-result - path: ${{ github.workspace }}/build/reports/pluginVerifier \ No newline at end of file + path: ${{ github.workspace }}/build/reports/pluginVerifier