mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 14:51:30 +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 }}
|