Skip to content

Commit

Permalink
fix: testss
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh-dixit committed Aug 7, 2024
1 parent 775c28a commit 3df577d
Showing 1 changed file with 4 additions and 55 deletions.
59 changes: 4 additions & 55 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,69 +64,18 @@ jobs:
# Build CLI
pyinstaller --onefile composio/cli/__main__.py
# Ubuntu Release
- if: matrix.os == 'ubuntu-latest'
run: |
cd python/
mv dist/__main__ dist/bin
mv dist/bin/__main__ dist/bin/composio
cd dist/
zip -r composio-linux-amd64.zip bin/*
rm -rf bin/
- if: matrix.os == 'ubuntu-latest'
name: Upload artifact to GitHub
uses: actions/upload-artifact@v2
with:
name: composio-linux-amd64
path: python/dist/composio-linux-amd64.zip

# Mac Intel Release
- if: matrix.os == 'macos-12'
run: |
cd python/
mv dist/__main__ dist/bin
mv dist/bin/__main__ dist/bin/composio
cd dist/
zip -r composio-darwin-amd64.zip bin/*
rm -rf bin/
- if: matrix.os == 'macos-12'
name: Upload artifact to GitHub
uses: actions/upload-artifact@v2
with:
name: composio-darwin-amd64
path: python/dist/composio-darwin-amd64.zip
# Mac ARM Release
- if: matrix.os == 'macos-14'
run: |
cd python/
mv dist/__main__ dist/bin
mv dist/bin/__main__ dist/bin/composio
cd dist/
zip -r composio-darwin-arm64.zip bin/*
rm -rf bin/
zip -r composio-darwin-arm64.zip dist/*
rm -rf dist/
- if: matrix.os == 'macos-14'
name: Upload artifact to GitHub
uses: actions/upload-artifact@v2
with:
name: composio-darwin-arm64
path: python/dist/composio-darwin-arm64.zip

# # Windows release
# - if: matrix.os == 'windows-latest'
# run: |
# cd python/
# mv dist/__main__ dist/bin
# mv dist/bin/__main__.exe dist/bin/composio.exe
path: python/composio-darwin-arm64.zip

# cd dist/
# zip -r composio-win.zip bin/*
# rm -rf bin/
# - if: matrix.os == 'windows-latest'
# name: Upload artifact
# uses: softprops/action-gh-release@v2
# with:
# files: python/dist/composio-win.zip

0 comments on commit 3df577d

Please sign in to comment.