diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c761bba9f0..d2b4d3bfcc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -103,7 +103,7 @@ jobs: if: always() id: version run: | - VERSION=$(gradle :core:properties -q | grep "version:" | awk '{print $2}') + VERSION=$(./gradlew :core:properties -q | grep "version:" | awk '{print $2}') echo ::set-output name=version::${VERSION} - name: Run Trivy vulnerability scanner for Scalar DB Server diff --git a/.github/workflows/release-snapshot.yaml b/.github/workflows/release-snapshot.yaml index a34ff4973a..ce1f31de7c 100644 --- a/.github/workflows/release-snapshot.yaml +++ b/.github/workflows/release-snapshot.yaml @@ -32,14 +32,14 @@ jobs: - name: Set version id: version run: | - VERSION=$(gradle :core:properties -q | grep "version:" | awk '{print $2}') + VERSION=$(./gradlew :core:properties -q | grep "version:" | awk '{print $2}') echo ::set-output name=version::${VERSION} - name: Upload SNAPSHOT versions for scalardb, scalardb-server, scalardb-rpc, and scalardb-schema-loader to Maven Central Repository if: contains(steps.version.outputs.version, '-SNAPSHOT') run: | echo "${{secrets.SIGNING_SECRET_KEY_RING}}" | base64 -d > ~/.gradle/secring.gpg - gradle publish \ + ./gradlew publish \ -Psigning.keyId="${{ secrets.SIGNING_KEY_ID }}" \ -P'signing.password'="${{ secrets.SIGNING_PASSWORD }}" \ -Psigning.secretKeyRingFile="$(echo ~/.gradle/secring.gpg)" \ diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c447f8b3db..2128eb8edb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,7 +52,7 @@ jobs: password: ${{ secrets.ACR_PASSWORD }} - name: Create containers - run: gradle docker + run: ./gradlew docker - name: Push containers run: | @@ -75,7 +75,7 @@ jobs: - name: Upload scalardb, scalardb-server, scalardb-rpc, and scalardb-schema-loader to Maven Central Repository run: | echo "${{secrets.SIGNING_SECRET_KEY_RING}}" | base64 -d > ~/.gradle/secring.gpg - gradle publish \ + ./gradlew publish \ -Psigning.keyId="${{ secrets.SIGNING_KEY_ID }}" \ -P'signing.password'="${{ secrets.SIGNING_PASSWORD }}" \ -Psigning.secretKeyRingFile="$(echo ~/.gradle/secring.gpg)" \ @@ -94,7 +94,7 @@ jobs: prerelease: false - name: Build scalardb-server zip - run: gradle :server:distZip + run: ./gradlew :server:distZip - name: Upload scalardb-server zip uses: actions/upload-release-asset@v1 @@ -107,7 +107,7 @@ jobs: asset_content_type: application/zip - name: Build scalardb-schema-loader jar - run: gradle :schema-loader:shadowJar + run: ./gradlew :schema-loader:shadowJar - name: Upload scalardb-schema-loader jar uses: actions/upload-release-asset@v1