Skip to content

Commit

Permalink
Delete build logs, update names
Browse files Browse the repository at this point in the history
  • Loading branch information
Waujito committed Aug 9, 2024
1 parent 34345b1 commit dc03bee
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build-openwrt
name: OpenWRT Workflow

on:
- push
Expand Down Expand Up @@ -48,7 +48,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: 'openwrt'


- name: Prepare workflow
shell: bash
Expand All @@ -67,25 +66,10 @@ jobs:
su - buildbot -c 'make defconfig'
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
if: steps.build.outcome == 'success'
uses: actions/upload-artifact@v4
with:
name: ipk-${{ matrix.arch }}
name: ${{ matrix.arch }}-${{ matrix.branch }}
path: /builder/**/youtubeUnblock*.ipk
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

0 comments on commit dc03bee

Please sign in to comment.