Skip to content

Commit

Permalink
Include oss in release artefact name (#813)
Browse files Browse the repository at this point in the history
Signed-off-by: Nitish Tiwari <[email protected]>
  • Loading branch information
nitisht authored Jun 8, 2024
1 parent 752a75f commit 323321c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
- name: Create Artifact
uses: actions/upload-artifact@v3
with:
name: Parseable_${{ matrix.target }}
path: Parseable_${{ 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_${{ 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_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_x86_64-pc-windows-msvc.exe
path: Parseable_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_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_${{ matrix.target }}
mv target/${{ matrix.target }}/release/Parseable Parseable_oss_${{ matrix.target }}
- name: Create artifact
uses: actions/upload-artifact@v2
with:
name: Parseable_${{ matrix.target }}
path: Parseable_${{ 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_${{ 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_*" -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 323321c

Please sign in to comment.