Skip to content

Commit 2457176

Browse files
committed
Cleanup
1 parent dd9839e commit 2457176

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/build_and_release_github.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ on:
66
- '*'
77

88
jobs:
9-
createrelease:
10-
name: createrelease
9+
release:
1110
runs-on: ubuntu-latest
1211
if: startsWith(github.ref, 'refs/tags/')
1312
steps:
@@ -38,9 +37,13 @@ jobs:
3837
env:
3938
GPG_SIGNING_KEY_PW: ${{ secrets.GPG_PASSPHRASE }}
4039

41-
- name: Build and release package
42-
run: ./gradlew clean build githubRelease
40+
- name: Build package
41+
run: ./gradlew clean build
4342
env:
4443
GPG_SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
4544
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
45+
46+
- name: Release package
47+
run: ./gradlew githubRelease
48+
env:
4649
RELEASE_GRADLE_PLUGIN_TOKEN: ${{ secrets.RELEASE_GRADLE_PLUGIN_TOKEN }}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ version gitVersion() // version set by the plugin, based on the Git tag
2727
description = 'Plug-in for Cryptomator to store vault passwords in KeePassXC'
2828
java.sourceCompatibility = JavaVersion.VERSION_17
2929

30-
def releaseGradlePluginToken = System.getenv("RELEASE_GRADLE_PLUGIN_TOKEN")
30+
def releaseGradlePluginToken = System.getenv("RELEASE_GRADLE_PLUGIN_TOKEN") ?: ''
3131

3232
java {
3333
withSourcesJar()

0 commit comments

Comments
 (0)