Skip to content

Commit

Permalink
Uploaded archives are now immutable
Browse files Browse the repository at this point in the history
The existing approach (appending to a potentially existing archive)
no longer works. Now we create an archive per build target.
  • Loading branch information
mthmulders committed Dec 17, 2023
1 parent f9bdb74 commit ccd4f58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Upload build artifacts
uses: actions/[email protected]
with:
name: executables
name: ${{ matrix.target }}-executables
path: target/**/release/dsmr-rs
retention-days: 1

Expand Down Expand Up @@ -77,11 +77,11 @@ jobs:
- name: Download all build artifacts
uses: actions/[email protected]
with:
name: executables
path: target/
path: /tmp/artifacts

- name: Inspect downloaded binaries
- name: Restructure target directory
run: |
mv -v /tmp/artifacts/* target/
ls -hl target/
file target/x86_64-unknown-linux-gnu/release/dsmr-rs
file target/arm-unknown-linux-musleabihf/release/dsmr-rs
Expand Down

0 comments on commit ccd4f58

Please sign in to comment.