From cf60143fd6fc5c76eb24ead6fbe08ca0acbe82f1 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 4 Jun 2020 17:00:19 +0100 Subject: [PATCH] Updated GitHub workflow for releases no issue - removed unused environment variables - hardcoded Node v10 as this is what 2.x supports - removed extra git line that is now a feature of the checkout Action --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73b316d0d1..9b3bf1c440 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,6 @@ jobs: runs-on: ubuntu-latest env: RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_ORG: ghost-foundation - SENTRY_PROJECT: ghost NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} FORCE_COLOR: 1 steps: @@ -18,7 +15,9 @@ jobs: with: fetch-depth: 0 submodules: true - - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + - uses: actions/setup-node@v1 + with: + node-version: '10' - run: yarn - run: grunt release:2.x --skip-tests