Skip to content

Commit

Permalink
ci: ๐Ÿ”„ publish to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-labs committed Jan 4, 2024
1 parent b1004b6 commit 41a7d5f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 53 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/composites/setup/action.yml

This file was deleted.

31 changes: 18 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ jobs:
bin: kurv.exe
archive: kurv-windows-x86_64.zip
steps:
- name: ๐Ÿ“œ ยป log run info
run: |
echo "os: ${{ matrix.platform.os }}"
echo "os_name: ${{ matrix.platform.os_name }}"
echo "target: ${{ matrix.platform.target }}"
echo "bin: ${{ matrix.platform.bin }}"
echo "archive: ${{ matrix.platform.archive }}"
echo "run_id: ${{ github.run_id }}"
- name: ๐Ÿ“ ยป checkout repository
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -81,10 +72,6 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- name: ๐Ÿ“œ ยป log run info
run: |
echo "run_id: ${{ github.run_id }}"
- name: ๐Ÿ“ฅ ยป download artifacts
uses: actions/download-artifact@v4
with:
Expand All @@ -99,3 +86,21 @@ jobs:
with:
files: |
kurv-*
publish-crates-io:
name: ๐Ÿš€ ยป publish crates.io
needs: build
runs-on: ubuntu-latest
steps:
- name: ๐Ÿ“ ยป checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: ๐Ÿฆ€ ยป install rust
uses: dtolnay/rust-toolchain@stable

- name: ๐Ÿš€ ยป publish
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CRATES_TOKEN }}
14 changes: 9 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
name = "kurv"
version = "0.0.1"
edition = "2021"
description = "A process manager to deamonize commands and programs. Made with ๐Ÿง‰ from Argentina"
authors = ["Lucas Colombo<[email protected]>"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
description = "A process manager to daemonize commands and programs. Inspired by pm2, but lightweight and not as featureful."
authors = ["Lucas Colombo<[email protected]>"]
license = "MIT"
license-file = "LICENSE"
repository = "https://github.com/lucas-labs/kurv"
categories = ["command-line-utilities"]
readme = "README.md"
homepage = "https://kurv.lucode.ar"
keywords = ["cli", "process", "manager", "daemon", "daemonize"]

[profile.release]
strip = true
Expand All @@ -17,7 +22,6 @@ rpath = false
overflow-checks = false
debug = 0
debug-assertions = false
# incremental = true # remove this one

[dependencies]
anyhow = "1.0.75"
Expand Down

0 comments on commit 41a7d5f

Please sign in to comment.