diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a07f19bd..ec71b4ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,12 @@ jobs: - run: cargo build --verbose - name: Upload binary to release - uses: softprops/action-gh-release@v1 - with: - files: target/debug/rrdb${{ runner.os == 'Windows' && '.exe' || ''}} + run: > + mv $path $name + gh release upload ${{ github.ref_name }} $name + shell: + bash + env: + GH_TOKEN: ${{ github.token }} + name: ${{ env.os }}-rrdb${{ runner.os == 'Windows' && '.exe' || ''}} + path: target/debug/rrdb${{ runner.os == 'Windows' && '.exe' || ''}}