ci: wire repo action vars into cache mirror env
This commit is contained in:
@@ -9,6 +9,9 @@ on:
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NUGET_CACHE_URL: ${{ vars.NUGET_CACHE_URL }}
|
||||
NPM_REGISTRY_URL: ${{ vars.NPM_REGISTRY_URL }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -67,6 +70,9 @@ jobs:
|
||||
needs: build-and-test
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master'
|
||||
env:
|
||||
NUGET_CACHE_URL: ${{ vars.NUGET_CACHE_URL }}
|
||||
NPM_REGISTRY_URL: ${{ vars.NPM_REGISTRY_URL }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user