Skip to content

Commit

Permalink
Updating Github Actions workflows
Browse files Browse the repository at this point in the history
-> Draft release after build

Updating Github Actions workflow
  • Loading branch information
tim54000 committed Sep 8, 2019
1 parent c8ad667 commit 230614f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Tim's rusty build

on:
push:
branches:
- master
paths:
- '*'
- '!/remailer-keys/*'
Expand All @@ -12,10 +10,18 @@ jobs:
build:
strategy:
matrix:
os: [macOS-10.14, windows-2016, ubuntu-18.04]
os: [windows-2016, ubuntu-18.04]
backend: [back-gpg]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Build
run: ${{ format("cargo build --verbose --release --no-default-features --features {0}", matrix.backend) }}
run: ${{ format('cargo build --verbose --release --no-default-features --features {0}', matrix.backend) }}
- name: Release
uses: docker://softprops/action-gh-release
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: "/target/release/cypherpunk-cli.exe, /target/release/cypherpunk-cli"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 230614f

Please sign in to comment.