diff options
| author | XhmikosR <[email protected]> | 2020-06-10 08:29:22 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-06-11 07:52:12 +0300 |
| commit | 3575a2b3c8bce834a79601ff089b0306e0d419aa (patch) | |
| tree | 75bf0cf5959ee9ac408522a758ba002f4c09b76d /.github/workflows/browserstack.yml | |
| parent | f57ac7231e5baa0645063e10b76f9e3d72572e7a (diff) | |
| download | bootstrap-3575a2b3c8bce834a79601ff089b0306e0d419aa.tar.xz bootstrap-3575a2b3c8bce834a79601ff089b0306e0d419aa.zip | |
Update Actions
* skip BrowserStack if we are not on the main repo
* remove the action filename from cache
Diffstat (limited to '.github/workflows/browserstack.yml')
| -rw-r--r-- | .github/workflows/browserstack.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index b20235235..20368b8fe 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -16,6 +16,7 @@ env: jobs: browserstack: runs-on: ubuntu-latest + if: github.repository == 'twbs/bootstrap' steps: - name: Clone repository @@ -30,9 +31,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.npm - key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/browserstack.yml') }} + key: ${{ runner.os }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} restore-keys: | - ${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('.github/workflows/browserstack.yml') }} + ${{ runner.OS }}-node-v${{ env.NODE }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} ${{ runner.OS }}-node-v${{ env.NODE }}- - name: Install npm dependencies |
