Skip to content

Commit

Permalink
Merge pull request #24 from blocktrron/bump-upload-artifact
Browse files Browse the repository at this point in the history
github: disable compression for build-output
  • Loading branch information
blocktrron authored Jan 5, 2024
2 parents 90e9a18 + 3203993 commit e76d832
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/actions/build-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ runs:
shell: bash
- run: tar -cJf "$GITHUB_WORKSPACE/build-artifact-workdir/output.tar.xz" -C ${{ inputs.gluon-path }}/output images packages debug
shell: bash
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.hardware-target }}
path: build-artifact-workdir
compression-level: 0
- run: rm -rf "$GITHUB_WORKSPACE/build-artifact-workdir"
shell: bash
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: bash .github/build-meta.sh

- name: Create Artifact of build-meta
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-meta
path: ${{ steps.build-metadata.outputs.build-meta-output }}
Expand Down Expand Up @@ -158,10 +158,11 @@ jobs:
--posix -C "gluon-gha-data/gluon" openwrt
- name: Archive build output
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: openwrt
path: "gluon-gha-data/openwrt"
compression-level: 0


build:
Expand Down Expand Up @@ -199,7 +200,7 @@ jobs:
run: cat /proc/meminfo

- name: Download prepared OpenWrt
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openwrt
path: "gluon-gha-data/openwrt"
Expand Down Expand Up @@ -250,7 +251,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: "gluon-gha-data/gluon-output"

Expand All @@ -262,7 +263,7 @@ jobs:
path: 'gluon-gha-data/gluon'

- name: Download prepared OpenWrt
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: openwrt
path: "gluon-gha-data/openwrt"
Expand Down Expand Up @@ -349,7 +350,7 @@ jobs:
-C gluon-gha-data/gluon/output/images/sysupgrade -T -
- name: Archive output
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: manifest-signed
path: gluon-gha-data/artifact-out
Expand All @@ -365,7 +366,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: "gluon-gha-data/artifact-download"

Expand Down Expand Up @@ -413,7 +414,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: "gluon-gha-data/artifact-download"

Expand Down

0 comments on commit e76d832

Please sign in to comment.