diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2712522..a3a7de5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }} @@ -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 }} @@ -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 }}