Skip to content

Merge pull request #61 from remi-dupre/validate-coord #78

Merge pull request #61 from remi-dupre/validate-coord

Merge pull request #61 from remi-dupre/validate-coord #78

Workflow file for this run

name: Deploy Crates
on:
- push
jobs:
deploy-rust:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
crate:
- compact-calendar
- opening-hours-syntax
- .
defaults:
run:
working-directory: ${{ matrix.crate }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Login to crates.io
run: cargo login $TOKEN
if: github.ref == 'refs/heads/master'
env:
TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
- name: Publish to crates.io
run: cargo publish
if: github.ref == 'refs/heads/master'