Skip to content

Commit

Permalink
Revert release inside the usual action, create another action
Browse files Browse the repository at this point in the history
  • Loading branch information
dottorblaster committed Jan 18, 2022
1 parent 844b82f commit 2b25dfb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release binary

on:
push:
tags:
- v*

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --release
- name: Release
uses: softprops/action-gh-release@v1
with:
files: target/release/photofinish
5 changes: 0 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,3 @@ jobs:
run: cargo build --release
- name: Run tests
run: cargo test --verbose
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/release/photofinish

0 comments on commit 2b25dfb

Please sign in to comment.