From f1a9f798e5ea3c4fb673acb6e5e865beb661b999 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 16 Nov 2024 12:30:03 +0100 Subject: [PATCH] fix: Update forgejo/forgejo-build-publish action to v5 Address the breaking changes. It is conveniently modeled after the use of the same action in the Forgejo release. https://codeberg.org/forgejo/forgejo/src/commit/6bab3c374c875b34408314c2ec680c30807ea2d3/.forgejo/workflows/publish-release.yml#L44-L60 --- .forgejo/workflows/publish-release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/publish-release.yml b/.forgejo/workflows/publish-release.yml index 0ba5c1d..5f396b0 100644 --- a/.forgejo/workflows/publish-release.yml +++ b/.forgejo/workflows/publish-release.yml @@ -30,14 +30,17 @@ jobs: - name: copy & sign uses: https://code.forgejo.org/forgejo/forgejo-build-publish/publish@v5 with: - forgejo: ${{ secrets.FORGEJO }} + from-forgejo: ${{ secrets.FORGEJO }} + to-forgejo: ${{ secrets.FORGEJO }} from-owner: ${{ secrets.FROM_OWNER }} to-owner: ${{ secrets.TO_OWNER }} repo: "runner" ref-name: ${{ github.ref_name }} + sha: ${{ github.sha }} container-suffixes: " " - doer: ${{ secrets.DOER }} - token: ${{ secrets.TOKEN }} + from-token: ${{ secrets.TOKEN }} + to-doer: ${{ secrets.DOER }} + to-token: ${{ secrets.TOKEN }} gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} verbose: ${{ secrets.VERBOSE }}