From 2ef87bbf85aa2a07d449e8fe21513d58d3193cc2 Mon Sep 17 00:00:00 2001 From: plasticuproject <19690649+plasticuproject@users.noreply.github.com> Date: Sun, 28 Jan 2024 00:49:49 -0500 Subject: [PATCH] Attempting to fix release action --- .github/workflows/rust.yml | 15 ++++++++++----- Cargo.toml | 2 +- README.md | 4 +++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c3a5542..98fcdfb 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Lint run: cargo clippy --verbose - name: Test @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: cargo build --release --verbose @@ -41,7 +41,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deploy env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} @@ -59,15 +59,20 @@ jobs: - target: x86_64-pc-windows-gnu archive: zip - target: x86_64-unknown-linux-musl - archive: tar.gz tar.xz tar.zst + archive: tar.gz - target: x86_64-apple-darwin archive: zip + - target: wasm32-wasi + archive: zip tar.gz steps: - uses: actions/checkout@master - name: Compile and release - uses: rust-build/rust-build.action@v1.4.4 + uses: rust-build/rust-build.action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: RUSTTARGET: ${{ matrix.target }} + SRC_DIR: "./" ARCHIVE_TYPES: ${{ matrix.archive }} + MINIFY: "yes" + diff --git a/Cargo.toml b/Cargo.toml index 89f5b55..24b3de5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ workspace = { members = ["examples/*", "tests/*"] } [package] name = "cc-taxii2-client-rs" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["plasticuproject "] description = "Minimal CloudCover TAXII2.1 Rust client library " diff --git a/README.md b/README.md index 8f7f78d..b9d7203 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ [![Lint Build Deploy](https://github.com/plasticuproject/cc-taxii2-client-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/plasticuproject/cc-taxii2-client-rs/actions/workflows/rust.yml) [![crates-io](https://img.shields.io/crates/v/cc-taxii2-client-rs.svg)](https://crates.io/crates/cc-taxii2-client-rs) ![Maintenance](https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg) -[![Docs](https://docs.rs/cc-taxii2-client-rs/badge.svg)](https://docs.rs/cc-taxii2-client.rs) +[![Docs](https://docs.rs/cc-taxii2-client-rs/badge.svg)](https://docs.rs/cc-taxii2-client-rs) +[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html) + WIP. Don't roast me too hard.