Skip to content

Commit

Permalink
fix(release): override GitHub API url with GH_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Silthus committed May 24, 2020
1 parent 7c28f21 commit 43669f7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/gradle.yml
@@ -1,5 +1,5 @@
name: Build
on: [push, pull_request]
on: [push]
jobs:
build:

Expand Down Expand Up @@ -46,6 +46,7 @@ jobs:

release:
needs: [build]
if: github.ref == 'refs/heads/master'

runs-on: ubuntu-18.04

Expand All @@ -60,15 +61,6 @@ jobs:
with:
node-version: "12.x"

- uses: actions/cache@v1
name: Cache Node
id: cache-node
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache Gradle
id: cache-gradle
uses: actions/cache@v1
Expand All @@ -87,3 +79,4 @@ jobs:
yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_URL: "https://api.github.com/"

0 comments on commit 43669f7

Please sign in to comment.