Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
tags:
- '*'
workflow_dispatch:

name: Publish to crates.io

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
[package]
name = "mediawiki"
version = "0.0.1"
description = "Rust crate to interface with the MediaWiki API, with special sauce for the Official Feed The Beast Wiki's extensions"
authors = ["Peter Atashian <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2018"
homepage = "https://github.com/FTB-Gamepedia/mediawiki-rs"
repository = "https://github.com/FTB-Gamepedia/mediawiki-rs"
readme = "README.md"

[dependencies]
cookie = "0.15"
Expand Down