Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yozhgoor committed May 9, 2021
1 parent e070675 commit ed38b11
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ jobs:
path: |
target/x86_64-apple-darwin/release/cargo-temp
build-windows:
runs-on: windows-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Build release (Windows)
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target=x86_64-windows-pc-msvc
- uses: actions/upload-artifact@v2
with:
name: build-windows
path: |
target/x86_64-pc-windows-msvc/release/cargo-temp.exe
build-windows:
runs-on: windows-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Build release (Windows)
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target=x86_64-pc-windows-msvc
- uses: actions/upload-artifact@v2
with:
name: build-windows
path: |
target/x86_64-pc-windows-msvc/release/cargo-temp.exe
release:
needs: [build-linux, build-osx-x86, build-windows]
Expand All @@ -80,7 +80,7 @@ jobs:
with:
name: build-windows
path: build-windows
- run: mv build-windows/cargo-temp.exe build-windows/cargo-temp-${{ steps.get_version.outputs.VERSION }}-windows.exe
- run: mv build-windows/cargo-temp.exe build-windows/cargo-temp-${{ steps.get_version.outputs.VERSION }}-windows-x86_64.exe
- name: Release
uses: softprops/action-gh-release@v1
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cargo-temp

A CLI tool for linux (currently) that allow you to create a new rust project in a temporary directory with
A CLI tool that allow you to create a new rust project in a temporary directory with
already installed dependencies.

![Cargo-temp demo](t-rec.gif)
Expand Down

0 comments on commit ed38b11

Please sign in to comment.