mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Update build.yml
This commit is contained in:
parent
1d3fa4e72e
commit
68aa928c7a
1 changed files with 6 additions and 3 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
# choose your default branch
|
# choose your default branch
|
||||||
- master
|
- master
|
||||||
- main
|
# - main
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '*.md'
|
- '*.md'
|
||||||
|
|
||||||
|
@ -29,6 +29,9 @@ jobs:
|
||||||
ref: "builds"
|
ref: "builds"
|
||||||
path: "builds"
|
path: "builds"
|
||||||
|
|
||||||
|
- name: Clean old builds
|
||||||
|
run: rm $GITHUB_WORKSPACE/builds/*.cs3
|
||||||
|
|
||||||
- name: Setup JDK 11
|
- name: Setup JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
|
@ -51,5 +54,5 @@ jobs:
|
||||||
git config --local user.email "actions@github.com"
|
git config --local user.email "actions@github.com"
|
||||||
git config --local user.name "GitHub Actions"
|
git config --local user.name "GitHub Actions"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit
|
git commit --amend -m "Build $GITHUB_SHA" || exit 0 # do not error if nothing to commit
|
||||||
git push
|
git push --force
|
||||||
|
|
Loading…
Reference in a new issue