Skip to content

Commit

Permalink
Merge pull request #150 from snshn/cd-windows-executable
Browse files Browse the repository at this point in the history
Make the pipeline upload windows build to every new release
  • Loading branch information
Sunshine authored Apr 5, 2020
2 parents cf3a8c8 + 1068ff6 commit e5fc05f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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
- name: Build the executable
run: cargo build --all --locked
- name: Perform local installation
run: cargo install --force --locked --path .
- uses: Shopify/[email protected]
with:
name: monolith.exe
path: C:\Users\runneradmin\.cargo\bin\monolith.exe
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e5fc05f

Please sign in to comment.