From d81b282f612ecf08d26214677b4674efc8deb7d7 Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Sat, 8 Jun 2024 22:04:51 +0530 Subject: [PATCH] fix the gh actions release flow --- .github/workflows/release.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c2f6e853..72ed5a3e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,20 +37,20 @@ jobs: - name: Rename binary run: | - mv target/${{ matrix.target }}/release/parseable Parseable_${{ matrix.target }} + mv target/${{ matrix.target }}/release/parseable Parseable_OSS_${{ matrix.target }} - name: Create Artifact uses: actions/upload-artifact@v3 with: - name: Parseable_oss_${{ matrix.target }} - path: Parseable_oss_${{ matrix.target }} + name: Parseable_OSS_${{ matrix.target }} + path: Parseable_OSS_${{ matrix.target }} - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false - files: Parseable_oss_${{ matrix.target }} + files: Parseable_OSS_${{ matrix.target }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -73,20 +73,20 @@ jobs: - name: Rename binary run: | - mv target/x86_64-pc-windows-msvc/release/PARSEABLE.exe Parseable_oss_x86_64-pc-windows-msvc.exe + mv target/x86_64-pc-windows-msvc/release/PARSEABLE.exe Parseable_OSS_x86_64-pc-windows-msvc.exe - name: Create artifact for Windows uses: actions/upload-artifact@v2 with: - name: Parseable_oss_x86_64-pc-windows-msvc.exe - path: Parseable_oss_x86_64-pc-windows-msvc.exe + name: Parseable_OSS_x86_64-pc-windows-msvc.exe + path: Parseable_OSS_x86_64-pc-windows-msvc.exe - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false - files: Parseable_oss_x86_64-pc-windows-msvc.exe + files: Parseable_OSS_x86_64-pc-windows-msvc.exe env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -118,20 +118,20 @@ jobs: - name: Rename binary run: | - mv target/${{ matrix.target }}/release/Parseable Parseable_oss_${{ matrix.target }} + mv target/${{ matrix.target }}/release/Parseable Parseable_OSS_${{ matrix.target }} - name: Create artifact uses: actions/upload-artifact@v2 with: - name: Parseable_oss_${{ matrix.target }} - path: Parseable_oss_${{ matrix.target }} + name: Parseable_OSS_${{ matrix.target }} + path: Parseable_OSS_${{ matrix.target }} - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false - files: Parseable_oss_${{ matrix.target }} + files: Parseable_OSS_${{ matrix.target }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -144,7 +144,7 @@ jobs: - name: Run shasum command run: | - find . -type f -name "Parseable_oss_*" -exec shasum {} \; | sed 's/.\/.*\///' > checksum.txt + find . -type f -name "Parseable_OSS_*" -exec shasum {} \; | sed 's/.\/.*\///' > checksum.txt - name: Create artifact uses: actions/upload-artifact@v2