ci: fix ci configurations
This commit is contained in:
@@ -37,10 +37,13 @@ jobs:
|
||||
run: echo ${{ secrets.GPG_PASSPHRASE }} | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --export-secret-keys -o gpg_key.ring
|
||||
|
||||
- name: Restore gradle.properties
|
||||
env:
|
||||
GRADLE_PROPERTIES: ${{ secrets.GRADLE_PROPERTIES }}
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p ~/.gradle/
|
||||
export GRADLE_USER_HOME=~/.gradle
|
||||
echo ${{ secrets.GRADLE_PROPERTIES }} > ~/.gradle/gradle.properties
|
||||
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
|
||||
echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
|
||||
Reference in New Issue
Block a user