Skip to content

Commit

Permalink
cargo publish fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodesdev committed May 6, 2024
1 parent a003ab9 commit 55e0dfd
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/crates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ jobs:
- name: Cargo test
run: cargo test

publish:
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: stable
override: true

- name: Cargo publish
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: cargo publish || true
run: cargo publish -p rustfinity

0 comments on commit 55e0dfd

Please sign in to comment.