Skip to content

Commit

Permalink
ci: modify workflow to save build
Browse files Browse the repository at this point in the history
  • Loading branch information
choppsv1 committed Oct 24, 2022
1 parent e72f0d3 commit ee839cd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,26 @@ jobs:
with:
name: test-logs-tar
path: test-logs.tar.bz2

deploy:
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/tags/')
needs: ["build-kernel", "build-rootfs", "test"]
steps:

- name: Download kernel bzImage
uses: actions/download-artifact@v3
with:
name: kernel-bzImage

- name: Download buildroot rootfs.cpio.gz
uses: actions/download-artifact@v3
with:
name: rootfs-compressed-cpio

- name: Deploy
uses: softprops/action-gh-release@v1
with:
files: |
bzImage
rootfs.cpio.gz
31 changes: 0 additions & 31 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit ee839cd

Please sign in to comment.