Skip to content

Commit

Permalink
release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-dom authored Feb 11, 2024
1 parent 9eaafe2 commit be13aae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
override: true

- name: Build for Linux
run: cargo build --all --release && strip target/release/moonwalk && mv target/release/moonwalk target/release/moonwalk_linux
run: cargo build --all --release && strip target/release/moonwalk-back && mv target/release/moonwalk-back target/release/moonwalk-back_linux

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

Expand All @@ -46,13 +46,13 @@ jobs:
override: true

- name: Build for Mac
run: cargo build --all --release && strip target/release/moonwalk && mv target/release/moonwalk target/release/moonwalk_darwin
run: cargo build --all --release && strip target/release/moonwalk-back && mv target/release/moonwalk-back target/release/moonwalk-back_darwin

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

0 comments on commit be13aae

Please sign in to comment.