From de4e14332086c4e59ccae40f377da87403b25248 Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Fri, 22 Nov 2024 18:56:06 -0500 Subject: [PATCH] Signing should only be after merge Make sure to see what's in the directory Signed-off-by: Geoff Hutchison --- .github/workflows/build_cmake.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index e2f4492e5c..5b9757f0f8 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -338,7 +338,7 @@ jobs: name: ${{ matrix.config.artifact }} - name: Sign Windows artifact - if: matrix.config.os == 'windows-latest' + if: matrix.config.os == 'windows-latest' && github.ref == 'refs/heads/master' uses: signpath/github-action-submit-signing-request@v1 with: api-token: '${{ secrets.SIGNPATH_API_TOKEN }}' @@ -349,6 +349,12 @@ jobs: wait-for-completion: true output-artifact-directory: '${{ runner.workspace }}/build/avogadroapp' + - name: Notarize Mac DMG + if: matrix.config.os == 'windows-latest' && github.ref == 'refs/heads/master' + run: | + ls -la ./ + working-directory: ${{ runner.workspace }}/build/avogadroapp + - name: Setup tmate session if: matrix.config.os == 'windows-latest' uses: mxschmitt/action-tmate@v3