Skip to content

Commit

Permalink
Add needed env var
Browse files Browse the repository at this point in the history
  • Loading branch information
purejava committed Jan 15, 2025
1 parent 4745dba commit dd9839e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build_and_release_github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,9 @@ jobs:
env:
GPG_SIGNING_KEY_PW: ${{ secrets.GPG_PASSPHRASE }}

- name: Build package
run: ./gradlew clean build
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Release package
run: ./gradlew githubRelease
- name: Build and release package
run: ./gradlew clean build githubRelease
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/build_develop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java CI with Maven
name: Java CI with Gradle

on:
push:
Expand Down Expand Up @@ -41,3 +41,4 @@ jobs:
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
- name: Compile with Gradle without Build Scan
if: ${{ matrix.language == 'java' && github.repository_owner != 'gradle' }}
run: ./gradlew --init-script .github/workflows/codeql-analysis.init.gradle -S testClasses
env:
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}

- name: Cleanup Gradle Daemons
run: ./gradlew --stop
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# keepassxc-cryptomator
![keepassxc-cryptomator](keepassxc-cryptomator.svg)

[![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)
[![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)
[![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)
[![GitHub Release](https://img.shields.io/github/v/release/purejava/keepassxc-cryptomator)](https://github.com/purejava/keepassxc-cryptomator/releases)
[![License](https://img.shields.io/github/license/purejava/keepassxc-cryptomator.svg)](https://github.com/purejava/keepassxc-cryptomator/blob/master/LICENSE)
Expand Down

0 comments on commit dd9839e

Please sign in to comment.