Skip to content

Commit

Permalink
Attempting to fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
plasticuproject committed Jan 28, 2024
1 parent 29c51e4 commit 2ef87bb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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 }}
Expand All @@ -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"

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <plastic@plasticuproject.com>"]
description = "Minimal CloudCover TAXII2.1 Rust client library "
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 2ef87bb

Please sign in to comment.