From 06d3bb3da7b1ff71b49e7bc92896f45f52af1e34 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Fri, 7 Jul 2023 19:14:50 +0900 Subject: [PATCH] actions: add missing `signing{}` rewriter. --- .github/workflows/actions.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index eb059cd9..c302a5bf 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -29,6 +29,10 @@ jobs: WORKSPACE: ${{ github.workspace }} GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }} SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }} + - name: rewrite build.gradle.kts to require signing + if: startsWith(github.ref, 'refs/tags/') + run: | + sed -i "s/signing {}/signing { sign(publishing.publications) }/" publish-pom.gradle - name: cache AVD uses: actions/cache@v3 env: