From 8df4e0934fdc93d9d8bcb50a4f8e91944e668f80 Mon Sep 17 00:00:00 2001 From: svetlagasheva Date: Thu, 2 Apr 2020 17:24:27 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9eef035ac..f0cabbae5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,15 @@ jobs: steps: - uses: actions/checkout@v1 + name: Checkout + - uses: actions/setup-node@v1 + name: Setup Node + with: + registry-url: 'https://npm.pkg.github.com' - name: Build - run: | - echo -e "[url \"https://github.com/\"]\n\tinsteadOf = ssh://git@github.com/" > ~/.gitconfig - yarn install && yarn build + run: yarn install && yarn build + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: zip -r stremio-web.zip ./build - name: Upload binaries to release uses: svenstaro/upload-release-action@v1-release