Merge pull request 'ci pipeline >:(' (#37) from devel into master
Cargo Check, Format, Fix, Test and publish / cargo CI (push) Failing after 1m40s Details

Reviewed-on: #37
This commit is contained in:
Christoph J. Scherr 2024-01-17 01:35:48 +01:00
commit 310945bf0b
1 changed files with 7 additions and 12 deletions

View File

@ -14,15 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --all-features --all-targets
- run: rustup component add rustfmt
- run: cargo fix --all-features --all-targets
- run: cargo fmt --all
- run: cargo test --all-features --all-targets
- run: |
for CRATE in {libpt-log,libpt-core,libpt-math,libpt-ccc,libpt-bintols,libpt-hedu,libpt-net,libpt-bin,libpt}; do
cargo publish \
--index "https://git.cscherr.de/PlexSheep/_cargo-index.git" \
-p $CRATE
;
done
- uses: katyo/publish-crates@v2
with:
args: --index "https://git.cscherr.de/PlexSheep/_cargo-index.git"
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CSCHERRDE }}
# - uses: katyo/publish-crates@v2
# with:
# registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN_CRATESIO }}