From 85a95bb47d3f3ef92e56cc1320224f31f3041c78 Mon Sep 17 00:00:00 2001 From: Jiho Lee Date: Sat, 6 Jul 2024 01:12:53 +0900 Subject: [PATCH] [#113] Use bash shell again --- .github/workflows/release.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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' || ''}}