Skip to content

Commit

Permalink
Add cli executor file to uploads on staging build
Browse files Browse the repository at this point in the history
  • Loading branch information
lucksus committed Nov 15, 2024
1 parent 4d5de50 commit 5b37532
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/publish_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
asset_name: ADAM-Launcher_${{ steps.extract_version.outputs.version }}_amd64.deb.tar.gz.sig
asset_content_type: application/octet-stream

- name: Upload Release AD4M CLI Linux Binary
- name: Upload Release AD4M CLI client Linux Binary
id: upload-release-linux-ad4m-cli-binary
if: matrix.platform == 'GH-hosted-ubuntu'
uses: actions/upload-release-asset@v1
Expand All @@ -224,7 +224,19 @@ jobs:
with:
upload_url: ${{ needs.create-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: /home/runner/work/ad4m/ad4m/target/release/ad4m
asset_name: ad4m-linux-${{ steps.extract_version.outputs.version }}-x64
asset_name: ad4m-cli-client-linux-${{ steps.extract_version.outputs.version }}-x64
asset_content_type: application/octet-stream

- name: Upload Release AD4M CLI executor Linux Binary
id: upload-release-linux-ad4m-cli-binary
if: matrix.platform == 'GH-hosted-ubuntu'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: /home/runner/work/ad4m/ad4m/target/release/ad4m-executor
asset_name: ad4m-cli-executor-linux-${{ steps.extract_version.outputs.version }}-x64
asset_content_type: application/octet-stream

- name: Upload Release Macos Asset
Expand Down Expand Up @@ -263,7 +275,7 @@ jobs:
asset_name: ADAM\ Launcher_${{ steps.extract_version.outputs.version }}_aarch64.app.tar.gz.sig
asset_content_type: application/octet-stream

- name: Upload Release AD4M CLI Macos Binary
- name: Upload Release AD4M CLI client macOS Binary
id: upload-release-macos-ad4m-cli-binary
if: matrix.platform == 'macos-latest'
uses: actions/upload-release-asset@v1
Expand All @@ -272,7 +284,19 @@ jobs:
with:
upload_url: ${{ needs.create-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: /Users/runner/work/ad4m/ad4m/target/release/ad4m
asset_name: ad4m-macos-${{ steps.extract_version.outputs.version }}-x64
asset_name: ad4m-cli-client-macos-${{ steps.extract_version.outputs.version }}-aarch64
asset_content_type: application/octet-stream

- name: Upload Release AD4M CLI executor macOS Binary
id: upload-release-macos-ad4m-cli-binary
if: matrix.platform == 'macos-latest'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: /Users/runner/work/ad4m/ad4m/target/release/ad4m-executor
asset_name: ad4m-cli-executor-macos-${{ steps.extract_version.outputs.version }}-aarch64
asset_content_type: application/octet-stream

- name: Upload Release MSI Asset
Expand Down

0 comments on commit 5b37532

Please sign in to comment.