mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-26 07:11:31 +11:00
2b14ec23d5
* Replaces `actions/checkout@v1` with `actions/checkout@v2` to get a bug fix
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@v2
|
|
- uses: hecrj/setup-rust-action@v1
|
|
with:
|
|
rust-version: stable
|
|
components: rustfmt
|
|
- name: Publish to crates.io
|
|
run: cargo publish --token ${{ secrets.cratesio_token }}
|