Skip to content

Commit f6f2a8e

Browse files
Merge pull request #26 from ballerina-platform/dev
Remove publishing testable jar and exec artifacts
2 parents 667a61a + e8b323c commit f6f2a8e

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

.github/workflows/build-master.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ jobs:
3434
name: Ballerina Internal Log
3535
path: regex-ballerina/ballerina-internal.log
3636
if-no-files-found: ignore
37-
- name: Archive Code Coverage JSON
38-
uses: actions/upload-artifact@v2
39-
with:
40-
name: Code Coverage JSON
41-
path: regex-ballerina/target/report/test_results.json
42-
if-no-files-found: ignore
4337
- name: Generate CodeCov Report
4438
uses: codecov/codecov-action@v1
4539
- name: Dispatch Dependent Module Builds

.github/workflows/pull-request.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,10 @@ jobs:
2929
name: Ballerina Internal Log
3030
path: regex-ballerina/ballerina-internal.log
3131
if-no-files-found: ignore
32-
- name: Archive Code Coverage JSON
33-
uses: actions/upload-artifact@v2
34-
with:
35-
name: Code Coverage JSON
36-
path: regex-ballerina/target/report/test_results.json
37-
if-no-files-found: ignore
32+
3833
- name: Generate Codecov Report
3934
if: github.event_name == 'pull_request'
4035
uses: codecov/codecov-action@v1
41-
4236
windows-build:
4337

4438
runs-on: windows-latest

regex-ballerina/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def ballerinaConfigFile = new File("$project.projectDir/Ballerina.toml")
2727
def artifactBallerinaDocs = file("$project.projectDir/build/docs_parent/")
2828
def artifactCacheParent = file("$project.projectDir/build/cache_parent/")
2929
def artifactLibParent = file("$project.projectDir/build/lib_parent/")
30-
def artifactCodeCoverageReport = file("$project.projectDir/target/cache/tests_cache/coverage/ballerina.exec")
3130
def artifactTestableJar = file("$project.projectDir/target/cache/${packageOrg}/${packageName}/${tomlVersion}/java11/")
3231
def ballerinaCentralAccessToken = System.getenv('BALLERINA_CENTRAL_ACCESS_TOKEN')
3332
def originalConfig = ballerinaConfigFile.text
@@ -209,15 +208,10 @@ task createArtifactZip(type: Zip) {
209208
from ballerinaBuild
210209
}
211210

212-
def getCheckedOutGitCommitHash() {
213-
'git rev-parse --verify --short HEAD'.execute().text.trim()
214-
}
215-
216211
publishing {
217212
publications {
218213
maven(MavenPublication) {
219214
artifact source: createArtifactZip, extension: 'zip'
220-
artifact source: artifactCodeCoverageReport, classifier: 'jacoco'
221215
}
222216
}
223217

0 commit comments

Comments
 (0)