Skip to content

Commit dd9839e

Browse files
committed
Add needed env var
1 parent 4745dba commit dd9839e

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.github/workflows/build_and_release_github.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,9 @@ jobs:
3838
env:
3939
GPG_SIGNING_KEY_PW: ${{ secrets.GPG_PASSPHRASE }}
4040

41-
- name: Build package
42-
run: ./gradlew clean build
43-
env:
44-
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
45-
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
46-
47-
- name: Release package
48-
run: ./gradlew githubRelease
41+
- name: Build and release package
42+
run: ./gradlew clean build githubRelease
4943
env:
5044
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
5145
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
46+
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}

.github/workflows/build_develop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Java CI with Maven
1+
name: Java CI with Gradle
22

33
on:
44
push:
@@ -41,3 +41,4 @@ jobs:
4141
env:
4242
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
4343
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
44+
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
- name: Compile with Gradle without Build Scan
8282
if: ${{ matrix.language == 'java' && github.repository_owner != 'gradle' }}
8383
run: ./gradlew --init-script .github/workflows/codeql-analysis.init.gradle -S testClasses
84+
env:
85+
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}
8486

8587
- name: Cleanup Gradle Daemons
8688
run: ./gradlew --stop

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# keepassxc-cryptomator
22
![keepassxc-cryptomator](keepassxc-cryptomator.svg)
33

4-
[![Java CI with Maven](https://github.com/purejava/keepassxc-cryptomator/workflows/Java%20CI%20with%20Maven/badge.svg)](https://github.com/purejava/keepassxc-cryptomator/actions?query=workflow%3A%22Java+CI+with+Maven%22)
4+
[![Java CI with Gradle](https://github.com/purejava/keepassxc-cryptomator/workflows/Java%20CI%20with%20Gradle/badge.svg)](https://github.com/purejava/keepassxc-cryptomator/actions?query=workflow%3A%22Java+CI+with+Gradle%22)
55
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f092de6bfd99450f8a9a2766ed01c3c1)](https://app.codacy.com/gh/purejava/keepassxc-cryptomator?utm_source=github.com&utm_medium=referral&utm_content=purejava/keepassxc-cryptomator&utm_campaign=Badge_Grade_Settings)
66
[![GitHub Release](https://img.shields.io/github/v/release/purejava/keepassxc-cryptomator)](https://github.com/purejava/keepassxc-cryptomator/releases)
77
[![License](https://img.shields.io/github/license/purejava/keepassxc-cryptomator.svg)](https://github.com/purejava/keepassxc-cryptomator/blob/master/LICENSE)

0 commit comments

Comments
 (0)