-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into flight-livetail
- Loading branch information
Showing
11 changed files
with
123 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,15 +35,15 @@ jobs: | |
command: build | ||
args: --release --target ${{matrix.target}} | ||
|
||
- name: Rename binary | ||
run: | | ||
mv target/${{ matrix.target }}/release/parseable Parseable_${{ matrix.target }} | ||
- name: Create Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Parseable_${{ matrix.target }} | ||
path: target/${{ matrix.target }}/release/parseable | ||
|
||
- name: Rename binary | ||
run: | | ||
mv target/${{ matrix.target }}/release/parseable Parseable_${{ matrix.target }} | ||
path: Parseable_${{ matrix.target }} | ||
|
||
- name: Publish Archive to Release Page | ||
uses: softprops/[email protected] | ||
|
@@ -71,16 +71,16 @@ jobs: | |
- name: Build | ||
run: cargo build --all --release --target x86_64-pc-windows-msvc | ||
|
||
- name: Create artifact for Windows | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Parseable_x86_64-pc-windows-msvc | ||
path: target/x86_64-pc-windows-msvc/release/PARSEABLE.exe | ||
|
||
- name: Rename binary | ||
run: | | ||
mv target/x86_64-pc-windows-msvc/release/PARSEABLE.exe Parseable_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: Publish Archive to Release Page | ||
uses: softprops/[email protected] | ||
if: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
|
@@ -116,16 +116,15 @@ jobs: | |
cargo build --release --target ${{ matrix.target }} | ||
strip target/${{ matrix.target }}/release/Parseable | ||
- name: Rename binary | ||
run: | | ||
mv target/${{ matrix.target }}/release/Parseable Parseable_${{ matrix.target }} | ||
- name: Create artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Parseable_${{ matrix.target }} | ||
path: | | ||
target/${{ matrix.target }}/release/Parseable | ||
- name: Rename binary | ||
run: | | ||
mv target/${{ matrix.target }}/release/Parseable Parseable_${{ matrix.target }} | ||
path: Parseable_${{ matrix.target }} | ||
|
||
- name: Publish Archive to Release Page | ||
uses: softprops/[email protected] | ||
|
@@ -135,3 +134,29 @@ jobs: | |
files: Parseable_${{ matrix.target }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
create-checksum: | ||
runs-on: ubuntu-latest | ||
needs: [build-linux, build-windows, build-mac] | ||
steps: | ||
- name: Download artifacts created | ||
uses: actions/download-artifact@v3 | ||
|
||
- name: Run shasum command | ||
run: | | ||
find . -type f -name "Parseable_*" -exec shasum {} \; | sed 's/.\/.*\///' > checksum.txt | ||
- name: Create artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: checksum.txt | ||
path: checksum.txt | ||
|
||
- name: Publish Check Sum to Release Page | ||
uses: softprops/[email protected] | ||
if: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
with: | ||
draft: false | ||
files: checksum.txt | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters