From b3864b4883968e61c33d637004916f473a1e68ad Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 22 Oct 2024 15:42:29 +0200 Subject: [PATCH] ci: submit pems --- .github/workflows/guix.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/guix.yml b/.github/workflows/guix.yml index 37c3286..b1677a8 100644 --- a/.github/workflows/guix.yml +++ b/.github/workflows/guix.yml @@ -149,3 +149,20 @@ jobs: name: ${{ matrix.toolchain.target }}.pem path: | codesigning/${{ matrix.toolchain.target }}-${{github.ref_name}}.pem + - uses: actions/checkout@v4 + with: + repository: tobtoht/feather-sigs + path: feather-sigs + ref: main + token: ${{ secrets.FEATHER_SIGS_PAT }} + - name: "submit signatures" + run: | + mkdir -p feather-sigs/codesigning/${{github.ref_name}}/ + cp codesigning/*.pem feather-sigs/codesigning/${{github.ref_name}}/ + cd feather-sigs + git checkout -b ${{github.ref_name}}-${{ matrix.toolchain.target }} + git configure --global user.name "GitHub" + git configure --global user.email "" + git add add codesigning + git commit -m "add codesignature for ${{github.ref_name}}/${{ matrix.toolchain.target }}" + git push origin ${{github.ref_name}}-${{ matrix.toolchain.target }}