2
0
mirror of https://github.com/Y2Z/monolith synced 2024-11-15 06:12:52 +00:00
monolith/.github/workflows/cd.yml

22 lines
513 B
YAML
Raw Normal View History

name: CD
on:
release:
types: [created]
jobs:
windows:
runs-on: windows-latest
steps:
- run: git config --global core.autocrlf false
- name: Checkout the repository
uses: actions/checkout@master
2020-04-05 19:32:25 +00:00
- name: Build and install the executable
run: cargo install --force --locked --path .
- uses: Shopify/upload-to-release@1.0.0
with:
name: monolith.exe
path: C:\Users\runneradmin\.cargo\bin\monolith.exe
repo-token: ${{ secrets.GITHUB_TOKEN }}