mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-26 07:11:31 +11:00
19 lines
366 B
YAML
19 lines
366 B
YAML
|
name: Publish
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [master]
|
||
|
paths: "Cargo.toml"
|
||
|
|
||
|
jobs:
|
||
|
Publish:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
- uses: hecrj/setup-rust-action@v1
|
||
|
with:
|
||
|
rust-version: stable
|
||
|
components: rustfmt
|
||
|
- name: Publish to crates.io
|
||
|
run: cargo publish --token ${{ secrets.cratesio_token }}
|