diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 808204f..b64749e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: Release +name: Release binaries on: push: @@ -18,12 +18,10 @@ jobs: - os: ubuntu-latest target: x86_64-unknown-linux-gnu name: linux-x86_64 - binary_path: target/release/peckr binary_name: peckr-linux-x86_64 - os: macos-latest target: x86_64-apple-darwin name: macos-x86_64 - binary_path: target/release/peckr binary_name: peckr-macos-x86_64 steps: @@ -40,7 +38,7 @@ jobs: - name: Prepare Binary shell: bash run: | - cp ${{ matrix.binary_path }} ${{ matrix.binary_name }} + cp target/${{ matrix.target }}/release/peckr ${{ matrix.binary_name }} - name: Upload Release uses: softprops/action-gh-release@v1