From 69fb2840dde22157111f63f35e099f31639c1b32 Mon Sep 17 00:00:00 2001 From: Szczepan Faber Date: Thu, 31 Dec 2020 11:35:55 -0600 Subject: [PATCH] Fixed CI releases The artifacts needs to be built before we publish them --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55316418..92baa086 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,10 +70,10 @@ jobs: java-version: 8 - name: Build and publish to Bintray/MavenCentral - run: ./gradlew bintrayUpload githubRelease --scan + run: ./gradlew build bintrayUpload githubRelease --scan env: MAVEN_CENTRAL_RELEASE: ${{contains(toJSON(github.event.commits.*.message), '[ci maven-central-release]')}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} BINTRAY_API_KEY: ${{secrets.BINTRAY_API_KEY}} NEXUS_TOKEN_USER: ${{secrets.NEXUS_TOKEN_USER}} - NEXUS_TOKEN_PWD: ${{secrets.NEXUS_TOKEN_PWD}} \ No newline at end of file + NEXUS_TOKEN_PWD: ${{secrets.NEXUS_TOKEN_PWD}}