Skip to content

Commit

Permalink
fix the gh actions release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
nitisht committed Jun 8, 2024
1 parent 323321c commit 8edf367
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 }}

Expand All @@ -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/[email protected]
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 }}

Expand Down Expand Up @@ -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/[email protected]
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 }}

Expand All @@ -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
Expand Down

0 comments on commit 8edf367

Please sign in to comment.