Skip to content

Commit

Permalink
Update CI workflow to upload and download build artifacts using GitHu…
Browse files Browse the repository at this point in the history
…b Actions
  • Loading branch information
loki077 committed Dec 9, 2024
1 parent aaf9c6b commit 1e702e5
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,20 +233,25 @@ jobs:
ccache -s
ccache -z
- name: Copy build artifacts to shared location
run: |
mkdir -p $GITHUB_WORKSPACE/shared-output
cp -r output/* $GITHUB_WORKSPACE/shared-output
ls -la $GITHUB_WORKSPACE/shared-output
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build-periph-${{ matrix.config }}
path: output/

list-periph-files:
runs-on: ubuntu-22.04
needs: build-periph
steps:
- name: Download all build artifacts
uses: actions/download-artifact@v3
with:
path: shared-output/

- name: List files
run: |
ls -la $GITHUB_WORKSPACE/shared-output/
ls -la shared-output/
# build-sitl:
# runs-on: 'windows-latest'
# needs: setup-s3-path
Expand Down

0 comments on commit 1e702e5

Please sign in to comment.