From 27255dc4776fec0c677080bd39b3ce8665873c94 Mon Sep 17 00:00:00 2001 From: TC Date: Sat, 21 Nov 2020 23:53:36 +0100 Subject: [PATCH] Add GH token env var from secret --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11cf5c4f..b79c1101 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,15 +32,21 @@ jobs: - name: Build on Mac if: startsWith(matrix.os, 'macOS') + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | yarn run release:mac - name: Build on Linux if: startsWith(matrix.os, 'ubuntu') + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | yarn run release:linux - name: Build on Windows if: startsWith(matrix.os, 'windows') + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | yarn run release:win