Skip to content

Commit

Permalink
ci: archive assets before creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicotsx committed Jan 23, 2024
1 parent 5e063b1 commit 126c5ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
bin: runtipi-cli
name: runtipi-cli-linux-arm64
name: runtipi-cli-linux-aarch64
command: build

- release_for: linux-x86_64
Expand Down Expand Up @@ -77,9 +77,6 @@ jobs:
args: "--locked --release"
strip: true

- name: List artifacts
run: tree target

- name: Upload CLI
uses: actions/upload-artifact@v4
with:
Expand All @@ -102,6 +99,9 @@ jobs:
- name: Move artifacts
run: for dir in runtipi-cli-linux-*; do mv "$dir/runtipi-cli" "${dir}.cli" && rm -rf "$dir" && mv "${dir}.cli" "$dir"; done

- name: Compress artifacts
run: for file in runtipi-cli-linux-*; do tar -czvf "$file.tar.gz" "$file" && rm -rf "$file"; done

- name: List artifacts
run: tree .

Expand Down

0 comments on commit 126c5ee

Please sign in to comment.