Delete build logs, update names

This commit is contained in:
Vadim Vetrov 2024-08-10 02:21:18 +03:00
parent 34345b127b
commit dc03bee64b
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5

View File

@ -1,4 +1,4 @@
name: build-openwrt name: OpenWRT Workflow
on: on:
- push - push
@ -48,7 +48,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: 'openwrt' ref: 'openwrt'
- name: Prepare workflow - name: Prepare workflow
shell: bash shell: bash
@ -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