mirror of https://github.com/morpheus65535/bazarr
no log: fix CI
This commit is contained in:
parent
6000a8889d
commit
bc79491491
|
@ -7,6 +7,7 @@ on:
|
||||||
- frontend/**
|
- frontend/**
|
||||||
- bazarr/**
|
- bazarr/**
|
||||||
- libs/**
|
- libs/**
|
||||||
|
- migrations/**
|
||||||
- bazarr.py
|
- bazarr.py
|
||||||
- requirements.txt
|
- requirements.txt
|
||||||
- dev-requirements.txt
|
- dev-requirements.txt
|
||||||
|
@ -22,10 +23,18 @@ jobs:
|
||||||
Frontend:
|
Frontend:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get source branch name
|
||||||
|
uses: haya14busa/action-cond@v1
|
||||||
|
id: branch_ref
|
||||||
|
with:
|
||||||
|
cond: ${{ github.event_name == 'pull_request' }}
|
||||||
|
if_true: ${{ github.head_ref }}
|
||||||
|
if_false: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ steps.branch_ref.outputs.value }}
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Cache node_modules
|
- name: Cache node_modules
|
||||||
|
@ -74,10 +83,18 @@ jobs:
|
||||||
needs: Frontend
|
needs: Frontend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get source branch name
|
||||||
|
uses: haya14busa/action-cond@v1
|
||||||
|
id: branch_ref
|
||||||
|
with:
|
||||||
|
cond: ${{ github.event_name == 'pull_request' }}
|
||||||
|
if_true: ${{ github.head_ref }}
|
||||||
|
if_false: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ steps.branch_ref.outputs.value }}
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Set up Python 3.8
|
- name: Set up Python 3.8
|
||||||
|
|
Loading…
Reference in New Issue