Skip to content

Commit

Permalink
Merge pull request #264 from dcSpark/agallardol/fix-build-binaries
Browse files Browse the repository at this point in the history
- fix: binaries folder
  • Loading branch information
agallardol authored Mar 5, 2024
2 parents 5032172 + 6d0c7d1 commit dabb6c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
env:
EXTENSION: ${{ matrix.arch == 'x86_64-pc-windows-msvc' && '.exe' || '' }}
run: |
mkdir files-to-r2/${{ matrix.arch }}
cp target/release/shinkai_node${{ env.EXTENSION }} files-to-r2/${{ matrix.arch }}/shinkai-node-${{ github.ref_name }}${{ env.EXTENSION }}
cp target/release/shinkai_node${{ env.EXTENSION }} files-to-r2/${{ matrix.arch }}/shinkai-node-latest${{ env.EXTENSION }}
mkdir files-to-r2
cp target/release/shinkai_node${{ env.EXTENSION }} files-to-r2/shinkai-node-${{ github.ref_name }}${{ env.EXTENSION }}
cp target/release/shinkai_node${{ env.EXTENSION }} files-to-r2/shinkai-node-latest${{ env.EXTENSION }}
- name: Upload binaries to R2 bucket
uses: shallwefootball/s3-upload-action@master
Expand All @@ -63,5 +63,5 @@ jobs:
aws_key_id: ${{ secrets.R2_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
aws_bucket: shinkai-download
source_dir: files-to-r2/${{ matrix.arch }}
source_dir: files-to-r2
destination_dir: ./shinkai-node/binaries/${{ matrix.arch }}/

0 comments on commit dabb6c1

Please sign in to comment.