Skip to content

Commit

Permalink
upload rootfs.ext4 in action build as part of submodules pack (#24)
Browse files Browse the repository at this point in the history
* extract rootfs from *.yml build & grab only rootfs.ext4 as in gen. img script
  • Loading branch information
Apaczer authored Mar 28, 2023
1 parent affaf5a commit bdbbae1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rootfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ jobs:
path: ${{ inputs.submodule || '.' }}/output/graphs/
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`

- uses: actions/upload-artifact@v2
with:
name: rootfs (uClibc)
path: ${{ inputs.submodule || '.' }}/output/images/rootfs.ext4
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`

build-image-musl:
runs-on: ubuntu-22.04
env:
Expand Down Expand Up @@ -135,4 +141,10 @@ jobs:
with:
name: build-graphs (musl)
path: ${{ inputs.submodule || '.' }}/output/graphs/
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`

- uses: actions/upload-artifact@v2
with:
name: rootfs (musl)
path: ${{ inputs.submodule || '.' }}/output/images/rootfs.ext4
if-no-files-found: error # 'error', 'warn', 'ignore'; defaults to `warn`

0 comments on commit bdbbae1

Please sign in to comment.