Skip to content

Commit 468563d

Browse files
authored
Update GitHub release job to include plugin artifacts (#19)
1 parent 0e74889 commit 468563d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
tags:
55
- v*
66
workflow_dispatch: {} # support manual runs
7+
permissions:
8+
contents: write
79
jobs:
810
library:
911
runs-on: ubuntu-latest
@@ -41,3 +43,13 @@ jobs:
4143
export ORG_GRADLE_PROJECT_signingInMemoryKey=$(gpg --armor --passphrase $GPG_PASSPHRASE --pinentry-mode=loopback --export-secret-keys $GPG_KEY_NAME signing-key | grep -v '\-\-' | grep -v '^=.' | tr -d '\n')
4244
shred signing-key
4345
make release
46+
- name: sha256
47+
run: sha256sum ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar >> sha256.txt
48+
- name: Publish GitHub artifacts
49+
uses: softprops/action-gh-release@v1
50+
with:
51+
generate_release_notes: true
52+
append_body: true
53+
files: |
54+
./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar
55+
sha256.txt

0 commit comments

Comments
 (0)