Skip to content

Commit

Permalink
Attach artifacts to release
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Mar 21, 2024
1 parent 1b807c4 commit d9aadd3
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/cd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,24 @@ jobs:
- build-macos-aarch64-archive
runs-on: ubuntu-latest
steps:
- name: Publish binaries
- name: Download binary for Linux x86_64
uses: actions/download-artifact@v4
with:
name: ${{ inputs.target }}-x86_64-linux
path: /tmp/bin/x86_64-linux
- name: Download binary for Linux aarch64
uses: actions/download-artifact@v4
with:
name: ${{ inputs.target }}-aarch64-linux
path: /tmp/bin/aarch64-linux
- name: Download binary for MacOS aarch64
uses: actions/download-artifact@v4
with:
name: ${{ inputs.target }}-aarch64-macosx
path: /tmp/bin/aarch64-macos
- name: Rename binaries
run: |
echo "Publishing binaries ${{ inputs.target }}:${{ inputs.major }}.${{ inputs.minor }}.${{ inputs.patch }}"
mkdir /tmp/artifacts
ls -R /tmp/bin/x86_64-linux
ls -R /tmp/bin/aarch64-linux
ls -R /tmp/bin/aarch64-macos

0 comments on commit d9aadd3

Please sign in to comment.