Skip to content

Commit

Permalink
Try to create proper archives
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Aug 26, 2024
1 parent 78e3e6d commit 6b9c7ca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
- uses: actions/checkout@v4
with:
sparse-checkout: ${{ matrix.board }}
- name: build source package
run: |
git archive -o slint-cpp-template-${{ matrix.board }}.zip HEAD slint-cpp-template-${{ matrix.board }}
- name: "Upload extension artifact"
uses: actions/upload-artifact@v4
with:
name: slint-cpp-template-${{ matrix.board }}
path: ${{ matrix.board }}
path: slint-cpp-template-${{ matrix.board }}.zip

test_packages:
strategy:
Expand All @@ -35,6 +38,9 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: slint-cpp-template-${{ matrix.board }}
- name: extract archive
run: |
unzip slint-cpp-template-${{ matrix.board }}.zip
- uses: seanmiddleditch/gha-setup-ninja@v5
- name: Install GNU Arm Embedded Toolchain
uses: carlosperate/arm-none-eabi-gcc-action@v1
Expand Down

0 comments on commit 6b9c7ca

Please sign in to comment.