Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the gh actions release flow #815

Merged
merged 1 commit into from
Jun 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/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 }}

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/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 }}

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/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 }}

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
Loading