diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 8cf092e..b90a451 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -6,6 +6,9 @@ on: - master pull_request: +env: + MODULE: donextv2 + jobs: build: runs-on: ubuntu-latest @@ -20,10 +23,6 @@ jobs: distribution: 'temurin' java-version: '17' - - name: Replace tokens in build.gradle - run: | - sed -i 's/#{\([^}]*\)}/${\1}/g' donext/build.gradle - - name: Cache Gradle uses: actions/cache@v3 with: @@ -35,7 +34,7 @@ jobs: ${{ runner.os }}-gradle- - name: Decode signing key - run: echo "${{ secrets.SIGNING_KEY_BASE64 }}" | base64 --decode > upload.jks + run: echo "${{ secrets.SIGNING_KEY_BASE64 }}" | base64 --decode > ${{ env.MODULE }}/upload.jks - name: Set up Ruby uses: ruby/setup-ruby@v1