diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 965e98e..4e465e3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -56,12 +56,15 @@ jobs: - name: Build run: cross build --target ${{ matrix.target }} --release + + - name: Rename binary + run: mv target/${{ matrix.target }}/release/bpftop target/${{ matrix.target }}/release/bpftop-${{ matrix.target }} - name: Upload artifact uses: actions/upload-artifact@v4.3.3 with: name: bpftop-${{ matrix.target }} - path: target/${{ matrix.target }}/release/bpftop + path: target/${{ matrix.target }}/release/bpftop-${{ matrix.target }} if-no-files-found: error create_release: @@ -81,7 +84,7 @@ jobs: - name: Create Release and Upload Artifacts uses: ncipollo/release-action@v1.14.0 with: - artifacts: ${{ steps.download_artifacts.outputs.download-path }}/bpftop-* + artifacts: artifacts/bpftop-* draft: true allowUpdates: true updateOnlyUnreleased: true