Skip to content

Update windows-sys requirement from 0.52.0 to 0.59.0 (#73) #12

Update windows-sys requirement from 0.52.0 to 0.59.0 (#73)

Update windows-sys requirement from 0.52.0 to 0.59.0 (#73) #12

Workflow file for this run

name: Publish to Cargo
on:
push:
branches: [main, master]
jobs:
publish:
runs-on: ubuntu-latest
name: "publish"
# Reference your environment variables
environment: cargo
steps:
- name: checkout
uses: actions/checkout@master
# Use caching to speed up your build
- name: Cache publish-action bin
id: cache-publish-action
uses: actions/cache@v3
env:
cache-name: cache-publish-action
with:
path: ~/.cargo
key: ${{ runner.os }}-build-${{ env.cache-name }}-v0.1.13
# install publish-action by cargo in github action
- name: Install publish-action
if: steps.cache-publish-action.outputs.cache-hit != 'true'
run: cargo install publish-action --version=0.1.13
- name: Publish to cargo
run: publish-action
env:
# This can help you tagging the github repository
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This can help you publish to crates.io
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}