Skip to content

Commit

Permalink
chore(release): prepare for v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bresilla committed Feb 7, 2024
1 parent 5ef4d0e commit 5d40c03
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: book

on:
push:
branches:
- develop

jobs:
deploy_site:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'

- run: mdbook build book --dest-dir ../docs

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release

on:
release:
types: [created]
jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@master
- name: Compile and release
id: compile
uses: rust-build/rust-build.action@v1.4.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
TOOLCHAIN_VERSION : 1.70.0
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: "zip tar.gz"
# ARCHIVE_NAME: "roc_${{ matrix.target }}"
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: tests

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lule"
version = "0.2.0"
version = "0.2.1"
authors = ["Trim Bresilla <trim.bresilla@gmail.com>"]
description = "a command line to set 255 colors on tty's and other places that use ANSI colors"
edition = "2018"
Expand Down

0 comments on commit 5d40c03

Please sign in to comment.