summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarpenter, Adam (CORP) <Adam.Carpenter@adp.com>2021-10-12 16:28:25 -0400
committerCarpenter, Adam (CORP) <Adam.Carpenter@adp.com>2021-10-12 16:28:25 -0400
commit29c8c54fd7995f876823773179474c4f4d16aff4 (patch)
tree9876f27446c2186765635024ebfd06d21b8a745b
parent597756ebd2ce9bb42d5adde87543349f278a7c18 (diff)
downloadaltruistic-angelshark-29c8c54fd7995f876823773179474c4f4d16aff4.tar.xz
altruistic-angelshark-29c8c54fd7995f876823773179474c4f4d16aff4.zip
ci: include angelsharkd in workflow
-rw-r--r--.github/workflows/publish.yml40
1 files changed, 35 insertions, 5 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 1f92c63..5cf42ec 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -46,7 +46,7 @@ jobs:
override: true
target: ${{ matrix.target }}
- - name: Build
+ - name: Build angelsharkcli
uses: actions-rs/cargo@v1
with:
use-cross: ${{ matrix.use-cross }}
@@ -54,11 +54,19 @@ jobs:
args:
--target ${{ matrix.target }} --release --locked --bin angelsharkcli
- - name: Strip binary
+ - name: Build angelsharkd
+ uses: actions-rs/cargo@v1
+ with:
+ use-cross: ${{ matrix.use-cross }}
+ command: build
+ args:
+ --target ${{ matrix.target }} --release --locked --bin angelsharkd
+
+ - name: Strip binaries
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
- run: strip target/${{ matrix.target }}/release/angelsharkcli
+ run: strip target/${{ matrix.target }}/release/angelshark*
- - name: Upload nix binaries to release
+ - name: Upload angelsharkcli nix binaries to release
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
uses: svenstaro/upload-release-action@v1-release
with:
@@ -69,7 +77,18 @@ jobs:
}}
tag: ${{ github.ref }}
- - name: Upload Windows binaries to release
+ - name: Upload angelsharkd nix binaries to release
+ if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
+ uses: svenstaro/upload-release-action@v1-release
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: target/${{ matrix.target }}/release/angelsharkd
+ asset_name:
+ angelsharkd-${{ steps.version.outputs.VERSION }}-${{ matrix.target
+ }}
+ tag: ${{ github.ref }}
+
+ - name: Upload angelsharkcli Windows binaries to release
if: matrix.os == 'windows-latest'
uses: svenstaro/upload-release-action@v1-release
with:
@@ -79,3 +98,14 @@ jobs:
angelsharkcli-${{ steps.version.outputs.VERSION }}-${{ matrix.target
}}.exe
tag: ${{ github.ref }}
+
+ - name: Upload angelsharkd binaries to release
+ if: matrix.os == 'windows-latest'
+ uses: svenstaro/upload-release-action@v1-release
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: target/${{ matrix.target }}/release/angelsharkd.exe
+ asset_name:
+ angelsharkd-${{ steps.version.outputs.VERSION }}-${{ matrix.target
+ }}.exe
+ tag: ${{ github.ref }}