Skip to content

Commit

Permalink
rename target
Browse files Browse the repository at this point in the history
  • Loading branch information
thesandybridge committed Jan 27, 2023
1 parent 096478a commit df7620b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
override: true

- name: Build
run: cargo build --all --release && strip target/release/wpengine_cli_v2 && mv target/release/wpengine_cli_v2 target/release/wpengine_cli_v2_amd64
run: cargo build --all --release && strip target/release/wpe && mv target/release/wpe target/release/wpe_amd64

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/wpengine_cli_v2_amd64
target/release/wpe_amd64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -52,7 +52,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/release/wpengine_cli_v2.exe
files: target/release/wpe.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -72,14 +72,14 @@ jobs:
override: true

- name: Build for mac
run: cargo build --all --release && strip target/release/wpengine_cli_v2 && mv target/release/wpengine_cli_v2 target/release/wpengine_cli_v2_darwin
run: cargo build --all --release && strip target/release/wpe && mv target/release/wpe target/release/wpe_darwin

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/wpengine_cli_v2_darwin
target/release/wpe_darwin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit df7620b

Please sign in to comment.