mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Checkout only needed branches
This commit is contained in:
parent
65b7034b0c
commit
3b5180d1e8
14
.github/workflows/Tasmota_build.yml
vendored
14
.github/workflows/Tasmota_build.yml
vendored
@ -16,8 +16,9 @@ jobs:
|
|||||||
- name: Use latest Tasmota development
|
- name: Use latest Tasmota development
|
||||||
run: |
|
run: |
|
||||||
git config --local user.name "Platformio BUILD"
|
git config --local user.name "Platformio BUILD"
|
||||||
|
git config user.email github-actions@github.com
|
||||||
git switch -c work
|
git switch -c work
|
||||||
git remote add -f Tasmota "https://github.com/arendst/Tasmota.git"
|
git remote add -f Tasmota "https://github.com/arendst/Tasmota.git" --track development
|
||||||
git merge Tasmota/development --allow-unrelated-histories
|
git merge Tasmota/development --allow-unrelated-histories
|
||||||
- name: Push Tasmota # Push updates of latest Tasmota development to repo
|
- name: Push Tasmota # Push updates of latest Tasmota development to repo
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
@ -1392,12 +1393,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Delete all files and folders
|
with:
|
||||||
run: |
|
ref: firmware
|
||||||
rm -rf *
|
|
||||||
git config --local user.name "Platformio BUILD"
|
|
||||||
git checkout firmware
|
|
||||||
- name: Display files from branch firmware
|
- name: Display files from branch firmware
|
||||||
run: ls -R
|
run: ls -R
|
||||||
- name: Remove old firmware files
|
- name: Remove old firmware files
|
||||||
@ -1454,6 +1452,8 @@ jobs:
|
|||||||
run: ls -R ./*
|
run: ls -R ./*
|
||||||
- name: Commit files # transfer the new binaries back into the repository
|
- name: Commit files # transfer the new binaries back into the repository
|
||||||
run: |
|
run: |
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
git rm -r --cached .
|
git rm -r --cached .
|
||||||
git add -f ./*
|
git add -f ./*
|
||||||
git commit -m "Tasmota ESP Binaries http://tasmota.com"
|
git commit -m "Tasmota ESP Binaries http://tasmota.com"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user