Skip to content

Commit

Permalink
chore: update README.md and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
0xk1f0 committed Nov 18, 2024
1 parent dfb820c commit 1573b53
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
branches: [ "master" ]
paths:
- 'src/**'
- '.github/workflows/build_aarch64.yaml'
- 'build.rs'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
branches: [ "master" ]
paths:
- 'src/**'
- '.github/workflows/build_aarch64.yaml'
- 'build.rs'
- 'Cargo.toml'
- 'Cargo.lock'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
branches: [ "master" ]
paths:
- 'src/**'
- '.github/workflows/build_x86.yaml'
- 'build.rs'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
branches: [ "master" ]
paths:
- 'src/**'
- '.github/workflows/build_x86.yaml'
- 'build.rs'
- 'Cargo.toml'
- 'Cargo.lock'
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Publish Plugin"

on:
workflow_dispatch:
release:
types: [ "published" ]

jobs:
publish-cratesio:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Publish crates.io Package
run: cargo publish --token ${CRATES_AUTH_TOKEN}
env:
CRATES_AUTH_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ authors = ["0xk1f0"]
description = "Multi-Monitor Wallpaper Utility"
readme = "README.md"
repository = "https://github.com/0xk1f0/rwpspread"
homepage = "https://github.com/0xk1f0/rwpspread"
license = "GPL-3.0-only"
exclude = [".github/", "flake*"]

[dependencies]
clap = { version = "4.5.21", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# rwpspread

[![Build x86](https://github.com/0xk1f0/rwpspread/actions/workflows/build_x86.yml/badge.svg)](https://github.com/0xk1f0/rwpspread/actions/workflows/build_x86.yml)
[![Build aarch64](https://github.com/0xk1f0/rwpspread/actions/workflows/build_aarch64.yml/badge.svg)](https://github.com/0xk1f0/rwpspread/actions/workflows/build_aarch64.yml)
[![GitHub Release](https://img.shields.io/github/v/release/0xk1f0/rwpspread)](https://github.com/0xk1f0/rwpspread/releases/latest)
[![Crates.io Release](https://img.shields.io/crates/v/rwpspread)](https://crates.io/crates/rwpspread)
[![AUR](https://img.shields.io/aur/version/rwpspread?label=AUR%20rwpspread)](https://aur.archlinux.org/packages/rwpspread)
[![AUR](https://img.shields.io/aur/version/rwpspread-git?label=AUR%20rwpspread-git)](https://aur.archlinux.org/packages/rwpspread-git)

Expand Down

0 comments on commit 1573b53

Please sign in to comment.