mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-12-17 21:18:13 +03:00
Delete build logs, update names
This commit is contained in:
20
.github/workflows/build-openwrt.yml
vendored
20
.github/workflows/build-openwrt.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: build-openwrt
|
name: OpenWRT Workflow
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
@@ -49,7 +49,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: 'openwrt'
|
ref: 'openwrt'
|
||||||
|
|
||||||
|
|
||||||
- name: Prepare workflow
|
- name: Prepare workflow
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -67,25 +66,10 @@ jobs:
|
|||||||
su - buildbot -c 'make defconfig'
|
su - buildbot -c 'make defconfig'
|
||||||
su - buildbot -c 'make package/youtubeUnblock/compile V=s BUILD_LOG=1'
|
su - buildbot -c 'make package/youtubeUnblock/compile V=s BUILD_LOG=1'
|
||||||
|
|
||||||
|
|
||||||
- name: Compress build logs
|
|
||||||
if: always()
|
|
||||||
env:
|
|
||||||
ARCH: ${{ matrix.arch }}
|
|
||||||
run: |
|
|
||||||
tar -cJvf logs-$ARCH.tar.xz /builder/logs
|
|
||||||
|
|
||||||
- name: Upload packages
|
- name: Upload packages
|
||||||
if: steps.build.outcome == 'success'
|
if: steps.build.outcome == 'success'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ipk-${{ matrix.arch }}
|
name: ${{ matrix.arch }}-${{ matrix.branch }}
|
||||||
path: /builder/**/youtubeUnblock*.ipk
|
path: /builder/**/youtubeUnblock*.ipk
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload build logs
|
|
||||||
if: always()
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: logs-${{ matrix.arch }}
|
|
||||||
path: ./**/logs-*.tar.xz
|
|
||||||
|
|||||||
Reference in New Issue
Block a user