Skip to content

Commit

Permalink
📢 publish via github actions and maintenance by oct 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardcl committed Oct 3, 2024
1 parent 1a563d2 commit a9bd213
Show file tree
Hide file tree
Showing 7 changed files with 112 additions and 80 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
matrix:
rust:
- stable
- 1.74.0
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -80,7 +79,6 @@ jobs:
matrix:
rust:
- stable
- 1.74.0
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -141,3 +139,22 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/rodalies-cli*

release:
name: Publish (crates.io)
if: startsWith(github.ref, 'refs/tags/')
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Login
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo login
- name: Publish
run: cargo publish
Loading

0 comments on commit a9bd213

Please sign in to comment.