Skip to content

Commit

Permalink
fix: actions: ubuntu_new: use artifacts to pass data between jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsubhranil committed Aug 1, 2022
1 parent 0e3c6c3 commit 6191c4c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ubuntu_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,28 @@ jobs:
uses: actions/checkout@v2
- name: Build ${{ matrix.device }}
run: chmod +x build_common.sh && cd ${{ matrix.device }} && ../build_common.sh
- name: Upload firmware artifcats
uses: actions/upload-artifact@master
with:
name: firmware_${{ matrix.device }}
path: images/
retention-days: 1

post_build:
runs-on: ubuntu-latest
needs: build

steps:
- name: Download ArcherC6Uv1 files
uses: actions/download-artifact@master
with:
name: firmware_ArcherC6Uv1
path: images/
- name: Download ArcherC50v6 files
uses: actions/download-artifact@master
with:
name: firmware_ArcherC50v6
path: images/
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y.%m.%d_%H.%M.%S')"
Expand Down

0 comments on commit 6191c4c

Please sign in to comment.