mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-22 22:06:49 +00:00
Review fix
This commit is contained in:
parent
e80462c8fa
commit
57d9e99c02
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -17,9 +17,13 @@ jobs:
|
||||
- name: 'Checking out repo code'
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Extract branch name
|
||||
id: extract_branch
|
||||
run: |
|
||||
echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
|
||||
|
||||
- name: 'Validate build'
|
||||
env:
|
||||
branch: ${GITHUB_REF##*/}
|
||||
if: steps.extract_branch.outputs.branch == 'master'
|
||||
run: |
|
||||
echo ${env:branch}
|
||||
npm install
|
||||
|
||||
Loading…
Reference in New Issue
Block a user