From 4696f80f00d23997db4e43fb3551776e11b99f83 Mon Sep 17 00:00:00 2001 From: Dylan Ratcliffe Date: Wed, 28 Feb 2024 14:18:56 +0000 Subject: [PATCH] Added custom runner config --- .github/workflows/README.md | 9 +++++++++ .github/workflows/release.yml | 10 +--------- 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/README.md diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 00000000..8e062683 --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1,9 @@ +# Workflows + +## Signing Releases + +Releases are signed using a self-hosted runner that has access to our certs. This need to be installed and running for releases to work. In case you forget how to use it, run the following to start it on the machine: + +``` +~/actions-runner/run.sh +``` \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03de4b44..c10f2252 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: - 'v*' jobs: goreleaser: - runs-on: macos-latest + runs-on: dylan-macbook permissions: contents: write packages: write @@ -21,14 +21,6 @@ jobs: - name: Install Gon using homebrew run: brew install Bearer/tap/gon - - name: Import Code-Signing Certificates - uses: Apple-Actions/import-codesign-certs@v1 - with: - # The certificates in a PKCS12 file encoded as a base64 string - p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }} - # The password used to import the PKCS12 file. - p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} - - name: Go Init uses: ./.github/actions/go_init