File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 uses : gradle/actions/setup-gradle@v4
3535 with :
3636 cache-read-only : ${{ !((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref_name == 'master' || github.ref_name == 'main' || startsWith(github.ref_name, 'v'))) }}
37+ - name : Restore gradle.properties
38+ env :
39+ GRADLE_PROPERTIES : ${{ secrets.GRADLE_PROPERTIES }}
40+ shell : bash
41+ run : |
42+ mkdir -p ~/.gradle/
43+ echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
44+ echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
45+ - name : Restore gpg key
46+ env :
47+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
48+ shell : bash
49+ run : |
50+ mkdir /home/runner/.gnupg
51+ echo -n "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode > /home/runner/.gnupg/secring.gpg
3752 - name : Build Project
3853 timeout-minutes : 35
3954 env :
Original file line number Diff line number Diff line change 4141 mkdir /home/runner/.gnupg
4242 echo -n "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode > /home/runner/.gnupg/secring.gpg
4343 - name : Execute Gradle publish
44- run : ./gradlew build --scan --no-daemon --console=plain
44+ run : ./gradlew build publish --scan --no-daemon --console=plain
4545 - name : Upload test reports
4646 uses : actions/upload-artifact@v4
4747 if : always()
You can’t perform that action at this time.
0 commit comments