Skip to content

Commit

Permalink
Reorder build stages
Browse files Browse the repository at this point in the history
  • Loading branch information
dob9601 committed Mar 12, 2022
1 parent a2560a7 commit 4b87f4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
- name: Build
run: cargo build --release

- name: Publish to Crates.io
run: |
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Bundle release artifacts
run: |
mkdir release
mv src/jtd-wrapper.sh release/jtd.sh
mv target/release/jtd release/jtd
- name: Publish to Crates.io
run: |
cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish to GitHub
uses: softprops/action-gh-release@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Join The Dots

[![Release](https://github.com/dob9601/jointhedots/actions/workflows/release.yml/badge.svg)](https://github.com/dob9601/jointhedots/actions/workflows/release.yml)
[![Test](https://github.com/dob9601/jointhedots/actions/workflows/test.yml/badge.svg)](https://github.com/dob9601/jointhedots/actions/workflows/test.yml)

![Demo](https://user-images.githubusercontent.com/24723950/152683893-eca67fa3-96bd-4c79-9cf4-a1283a73b61d.gif)
```
jointhedots
Expand Down

0 comments on commit 4b87f4b

Please sign in to comment.