Skip to content

Commit

Permalink
Fixed actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
StandingPadAnimations committed Jul 24, 2023
1 parent 6ba3048 commit 6178e0e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
override: true

- name: Build
run: cargo build --all --release && strip target/release/PROJECT_NAME && mv target/release/PROJECT_NAME target/release/PROJECT_NAME_amd64
run: cargo build --all --release && strip target/release/bpy-build && mv target/release/bpy-build target/release/bpy-build_amd64

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

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

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

- name: Build for mac
run: cargo build --all --release && strip target/release/PROJECT_NAME && mv target/release/PROJECT_NAME target/release/PROJECT_NAME_darwin
run: cargo build --all --release && strip target/release/bpy-build && mv target/release/bpy-build target/release/bpy-build_darwin

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

0 comments on commit 6178e0e

Please sign in to comment.