Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensElflein committed Nov 6, 2024
1 parent 7ede95c commit 0693534
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,19 @@ jobs:
uses: docker/build-push-action@v6
with:
push: false
context: bootloader
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=local,dest=./out
- name: Copy Artifacts
run: |
mkdir artifacts
cp -r ./host-software ./artifacts
mkdir ./artifacts/bootloader
cp ./out/xcore-boot.bin ./artifacts/bootloader
cp ./out/xcore-boot.elf ./artifacts/bootloader
cp ./out/openmower.bin ./artifacts
cp ./out/openmower.elf ./artifacts
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: bootloader
name: openmower
path: artifacts/
tagged-release:
runs-on: ubuntu-latest
Expand All @@ -55,7 +53,7 @@ jobs:
- name: Download artifacts from build stage
uses: actions/download-artifact@v4
with:
name: bootloader
name: openmower
path: artifacts
- name: Compress release directory into a versioned ZIP file
run: zip -r "xcore-boot-${{ github.ref_name }}.zip" artifacts/*
Expand Down

0 comments on commit 0693534

Please sign in to comment.