mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
Remove checkout branch from CI
This commit is contained in:
parent
bb896eb2fe
commit
7c4e40e49f
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -3,16 +3,12 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README*.md'
|
- 'README*.md'
|
||||||
- 'fastlane/**'
|
- 'fastlane/**'
|
||||||
- 'assets/**'
|
- 'assets/**'
|
||||||
- '.github/**/*.md'
|
- '.github/**/*.md'
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README*.md'
|
- 'README*.md'
|
||||||
- 'fastlane/**'
|
- 'fastlane/**'
|
||||||
@ -26,11 +22,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: create and checkout branch
|
|
||||||
# push events already checked out the branch
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
run: git checkout -B ${{ github.head_ref }}
|
|
||||||
|
|
||||||
- name: set up JDK 11
|
- name: set up JDK 11
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user