Pre: Cleanup release.yml.
This commit is contained in:
Родитель
3a272a9ec2
Коммит
370ee7a64c
|
@ -18,16 +18,9 @@ jobs:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
|
|
||||||
- name: Write gradle.properties
|
- name: Write gradle.properties
|
||||||
run: |
|
|
||||||
mkdir -p $HOME/.gradle
|
|
||||||
echo "gradle.publish.key=$GRADLE_PUBLISH_KEY" >> $HOME/.gradle/gradle.properties
|
|
||||||
echo "gradle.publish.secret=$GRADLE_PUBLISH_SECRET" >> $HOME/.gradle/gradle.properties
|
|
||||||
|
|
||||||
- name: Restore gradle.properties
|
|
||||||
env:
|
env:
|
||||||
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
|
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
|
||||||
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
|
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.gradle/
|
mkdir -p $HOME/.gradle/
|
||||||
echo "gradle.publish.key=${GRADLE_PUBLISH_KEY}" >> ~/.gradle/gradle.properties
|
echo "gradle.publish.key=${GRADLE_PUBLISH_KEY}" >> ~/.gradle/gradle.properties
|
||||||
|
|
Загрузка…
Ссылка в новой задаче