Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwu51 authored Oct 20, 2024
1 parent 5fe0ebd commit f2d38d9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,15 @@ jobs:

- name: Archive Production Artifacts
run: |
cp target/release/jtxt jtxt-{matrix.os}
test -e jtxt-ubuntu-20.04 && mv jtxt-ubuntu-20.04 jtxt && zip -r jtxt-linux-x64.zip jtxt
test -e jtxt-macos-13 && mv jtxt-macos-13 jtxt && zip -r jtxt-macos-x64.zip jtxt
test -e jtxt-macos-14 && mv jtxt-macos-14 jtxt && zip -r jtxt-macor-arm64.zip jtxt
cp target/release/jtxt jtxt
zip -r jtxt-{matrix.os}.zip jtxt
shell: bash

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: jtxt-{matrix.os}
path: jtxt-{matrix.os}.zip

build-win:
runs-on: windows-2022
Expand Down

0 comments on commit f2d38d9

Please sign in to comment.