@@ -16,9 +16,12 @@ name: Build
1616on :
1717 # Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests)
1818 push :
19- branches : [main]
19+ # branches: [main]
20+ # todo: temp, should be main
21+ branches : [ publish-workflow ]
2022 # Trigger the workflow on any pull request
21- pull_request :
23+ # pull_request:
24+
2225
2326jobs :
2427
@@ -35,15 +38,15 @@ jobs:
3538
3639 # Check out current repository
3740 - name : Fetch Sources
38- uses : actions/checkout@v2.4.0
41+ uses : actions/checkout@v3
3942
4043 # Validate wrapper
4144 - name : Gradle Wrapper Validation
42454346
4447 # Setup Java 11 environment for the next steps
4548 - name : Setup Java
46- uses : actions/setup-java@v2
49+ uses : actions/setup-java@v3
4750 with :
4851 distribution : zulu
4952 java-version : 11
@@ -74,16 +77,17 @@ jobs:
7477 run : ./gradlew test
7578
7679 # Collect Tests Result of failed tests
80+ # #todo: add more modules reports
7781 - name : Collect Tests Result
7882 if : ${{ failure() }}
79- uses : actions/upload-artifact@v2
83+ uses : actions/upload-artifact@v3
8084 with :
8185 name : tests-result
82- path : ${{ github.workspace }}/build/reports/tests
86+ path : ${{ github.workspace }}/ide-common/ build/reports/tests
8387
8488 # Cache Plugin Verifier IDEs
8589 - name : Setup Plugin Verifier IDEs Cache
86- uses : actions/cache@v2.1.7
90+ uses : actions/cache@v3.0.5
8791 with :
8892 path : ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
8993 key : plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
@@ -95,14 +99,15 @@ jobs:
9599 # Collect Plugin Verifier Result
96100 - name : Collect Plugin Verifier Result
97101 if : ${{ always() }}
98- uses : actions/upload-artifact@v2
102+ uses : actions/upload-artifact@v3
99103 with :
100104 name : pluginVerifier-result
101105 path : ${{ github.workspace }}/build/reports/pluginVerifier
102106
103107 # Run Qodana inspections
104- - name : Qodana - Code Inspection
105- 108+ # #todo: fails with no space left on device
109+ # - name: Qodana - Code Inspection
110+ # uses: JetBrains/[email protected] 106111
107112 # Prepare plugin archive content for creating artifact
108113 - name : Prepare Plugin Artifact
@@ -117,7 +122,7 @@ jobs:
117122
118123 # Store already-built plugin as an artifact for downloading
119124 - name : Upload artifact
120- uses : actions/upload-artifact@v2.2.4
125+ uses : actions/upload-artifact@v3
121126 with :
122127 name : ${{ steps.artifact.outputs.filename }}
123128 path : ./build/distributions/content/*/*
@@ -133,7 +138,7 @@ jobs:
133138
134139 # Check out current repository
135140 - name : Fetch Sources
136- uses : actions/checkout@v2.4.0
141+ uses : actions/checkout@v3
137142
138143 # Remove old release drafts by using the curl request for the available releases with draft flag
139144 - name : Remove Old Release Drafts
0 commit comments