From e865af639d9845b99f101e2be7b81acea20f80c1 Mon Sep 17 00:00:00 2001 From: amnix Date: Mon, 21 Oct 2024 16:07:19 +0900 Subject: [PATCH] use direct gradlew instead of action --- .github/workflows/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 769d7a0..1a5dd79 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -51,9 +51,7 @@ jobs: echo "SDK_VERSION=${TAG#v}" >> $GITHUB_ENV - name: Deploy - uses: gradle/gradle-build-action@v3 - with: - arguments: ${{ matrix.target }} --no-configuration-cache --no-daemon + run: chmod +x gradlew && ./gradlew ${{ matrix.target }} --no-configuration-cache --no-daemon env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }} @@ -81,7 +79,10 @@ jobs: echo Version: TAG echo "SDK_VERSION=${TAG#v}" >> $GITHUB_ENV - name: Setup local.properties - run: touch local.properties && echo "TEST_SERVER_URL=$TEST_SERVER_URL" >> local.properties + run: | + touch local.properties + echo "TEST_SERVER_URL=${{ secrets.TEST_SERVER_URL }}" >> local.properties + cat local.properties - name: Build SoundBud! run: ./gradlew :example-android:assembleDevRelease - name: Publish SoundBud!