Skip to content

Commit

Permalink
Merge pull request #10 from Rovel/add-artifacts
Browse files Browse the repository at this point in the history
change bin name and release names
  • Loading branch information
Rovel authored Feb 20, 2024
2 parents 7f0a26a + e8dc5ec commit cf8c9bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Install cross
run: cargo install cross
- name: Set Rust flags
run: export RUSTFLAGS="-C link-arg=-o -C link-arg=image_cleaner_#{{ matrix.target }}"
- name: Build binary
run: cross build --target ${{ matrix.target }} --release
- name: Upload artifact
Expand All @@ -53,9 +55,19 @@ jobs:
name: Release
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
- target: armv7-unknown-linux-gnueabihf
- target: aarch64-unknown-linux-gnu
steps:
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: ${{ matrix.target }}/image_cleaner_#{{ matrix.target }}
path: target
merge-multiple: true
- name: Display structure of downloaded files
run: ls -R
- name: Bump version and push tag
Expand Down

0 comments on commit cf8c9bd

Please sign in to comment.