diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 948d6be..1cb0d80 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,7 +2,7 @@ name: Rust on: release: - types: [created] + types: [created] jobs: build: @@ -20,14 +20,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/wpengine_cli_v2 && mv target/release/wpengine_cli_v2 target/release/wpengine_cli_v2_amd64 - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: files: | - target/release/PROJECT_NAME_amd64 + target/release/wpengine_cli_v2_amd64 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -52,7 +52,7 @@ jobs: uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: target/release/PROJECT_NAME.exe + files: target/release/wpengine_cli_v2.exe env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -72,14 +72,14 @@ 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/wpengine_cli_v2 && mv target/release/wpengine_cli_v2 target/release/wpengine_cli_v2_darwin - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: files: | - target/release/PROJECT_NAME_darwin + target/release/wpengine_cli_v2_darwin env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}