From 2a6b1274b73822fb6ce9bfeba1096f8bd1b87c9f Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 18 Dec 2019 13:48:34 -0500 Subject: [PATCH 1/7] Run event only if software@marquiskurt.net initiated it --- .github/workflows/ci-mac.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index 401b77d..fd66198 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -13,6 +13,7 @@ jobs: with: node-version: 10.x - name: Run pre-build setup + if: github.actor == "software@marquiskurt.net" run: | echo "Downloading certificates and profiles..." echo "$ascCertificates" > certs.b64 @@ -44,4 +45,4 @@ jobs: run: | npm install npm run build --if-present - npm run build-desktop-darwin-nosign \ No newline at end of file + npm run build-desktop-darwin-nosign From 9bfe5f7e2631878c16d5bd8907892bb6f811101d Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 18 Dec 2019 13:49:20 -0500 Subject: [PATCH 2/7] Ditto prev. commit --- .github/workflows/ci-mac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index fd66198..809baed 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -13,7 +13,7 @@ jobs: with: node-version: 10.x - name: Run pre-build setup - if: github.actor == "software@marquiskurt.net" + if: github.actor = "software@marquiskurt.net" run: | echo "Downloading certificates and profiles..." echo "$ascCertificates" > certs.b64 From 9a5473d84279cb904ebaaf3d0e8466cec954c448 Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 18 Dec 2019 13:52:48 -0500 Subject: [PATCH 3/7] Ditto prev. 2 commits Run pre-build setup based on who ran it --- .github/workflows/ci-mac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index 809baed..c7aceb3 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -13,7 +13,7 @@ jobs: with: node-version: 10.x - name: Run pre-build setup - if: github.actor = "software@marquiskurt.net" + if: github.actor == software@marquiskurt.net run: | echo "Downloading certificates and profiles..." echo "$ascCertificates" > certs.b64 From c9fb045e4fcd23183d5b138dedc9392beed06853 Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 18 Dec 2019 13:53:25 -0500 Subject: [PATCH 4/7] Ditto pre.v commit --- .github/workflows/ci-mac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index c7aceb3..19cd696 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -13,7 +13,7 @@ jobs: with: node-version: 10.x - name: Run pre-build setup - if: github.actor == software@marquiskurt.net + if: github.actor == 'software@marquiskurt.net' run: | echo "Downloading certificates and profiles..." echo "$ascCertificates" > certs.b64 From d49449c2bb9928f3e355fa453a74fe4b0740547e Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 18 Dec 2019 13:55:32 -0500 Subject: [PATCH 5/7] Figure out my actor --- .github/workflows/ci-mac.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index 19cd696..d09c71a 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -12,6 +12,10 @@ jobs: uses: actions/setup-node@v1 with: node-version: 10.x + - name: Show github.actor + run: echo $actor + env: + actor: ${{ github.actor }} - name: Run pre-build setup if: github.actor == 'software@marquiskurt.net' run: | From 7901e0f9002051cb385a397dc05a914b58366896 Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 18 Dec 2019 14:09:05 -0500 Subject: [PATCH 6/7] Limit to main desktop contributors --- .github/workflows/ci-mac.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index d09c71a..120d03d 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -16,8 +16,8 @@ jobs: run: echo $actor env: actor: ${{ github.actor }} - - name: Run pre-build setup - if: github.actor == 'software@marquiskurt.net' + - name: Install certificated and entitlements + if: github.actor == 'alicerunsonfedora' || github.actor == 'Nomad1556' || github.actor == 'audmaxwell' run: | echo "Downloading certificates and profiles..." echo "$ascCertificates" > certs.b64 From 58b4a12ccabd4c0e449596aab4b52c7bda6a5bb8 Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Wed, 18 Dec 2019 14:11:10 -0500 Subject: [PATCH 7/7] Remove show GitHub.actor --- .github/workflows/ci-mac.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci-mac.yml b/.github/workflows/ci-mac.yml index 120d03d..3312a96 100644 --- a/.github/workflows/ci-mac.yml +++ b/.github/workflows/ci-mac.yml @@ -12,11 +12,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: 10.x - - name: Show github.actor - run: echo $actor - env: - actor: ${{ github.actor }} - - name: Install certificated and entitlements + - name: Install certificates and entitlements if: github.actor == 'alicerunsonfedora' || github.actor == 'Nomad1556' || github.actor == 'audmaxwell' run: | echo "Downloading certificates and profiles..."