Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
ASSEMBLE
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <[email protected]>
  • Loading branch information
brooksmtownsend committed Aug 8, 2023
1 parent 89da14d commit 1bcf281
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/httpserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ jobs:
with:
path: ${{ env.working-directory }}

- name: Debug
run: |
ls -lah ${{ env.working-directory }}
ls -lah ${{ env.working-directory }}/httpserver-macos-amd64
ls -lah ${{ env.working-directory }}/httpserver-windows-amd64
- name: Determine artifact name
run: |
echo "artifact-name=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].targets[1].name')" >> $GITHUB_ENV
Expand All @@ -170,17 +176,16 @@ jobs:
working-directory: ${{ env.working-directory }}
run: |
mkdir -p target/release
mv x86_64-unknown-linux-gnu/${{ env.artifact-name }} target/release/
mv ${{ env.artifact-name }}-linux-amd64/${{ env.artifact-name }} target/release/
make par
- name: Insert provider archive targets
working-directory: ${{ env.working-directory }}
run: |
wash par insert --arch x86_64-macos --binary x86_64-apple-darwin/${{ env.artifact-name }} build/${{ env.artifact-name }}.par.gz
wash par insert --arch aarch64-linux --binary aarch64-unknown-linux-gnu/${{ env.artifact-name }} build/${{ env.artifact-name }}.par.gz
wash par insert --arch aarch64-macos --binary aarch64-apple-darwin/${{ env.artifact-name }} build/${{ env.artifact-name }}.par.gz
wash par insert --arch armv7-linux --binary armv7-unknown-linux-gnueabihf/${{ env.artifact-name }} build/${{ env.artifact-name }}.par.gz
wash par insert --arch x86_64-windows --binary x86_64-pc-windows-gnu/${{ env.artifact-name }}.exe build/${{ env.artifact-name }}.par.gz
wash par insert --arch x86_64-macos --binary ${{ env.artifact-name }}-macos-amd64/${{ env.artifact-name }} build/${{ env.artifact-name }}.par.gz
wash par insert --arch aarch64-linux --binary ${{ env.artifact-name }}-linux-aarch64/${{ env.artifact-name }} build/${{ env.artifact-name }}.par.gz
wash par insert --arch aarch64-macos --binary ${{ env.artifact-name }}-macos-aarch64/${{ env.artifact-name }} build/${{ env.artifact-name }}.par.gz
wash par insert --arch x86_64-windows --binary ${{ env.artifact-name }}-windows-amd64/${{ env.artifact-name }}.exe build/${{ env.artifact-name }}.par.gz
- name: Upload provider archive to GH Actions
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 1bcf281

Please sign in to comment.