Skip to content

Commit

Permalink
Replaced wildcard search with if
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1N committed Mar 28, 2024
1 parent 14b3cf3 commit 3aa7fa4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,10 @@ jobs:
- run: echo "${{ secrets.MEMFLOW_REGISTRY_SIGNING_KEY}}" > ec-secp256k1-priv-key.pem
- name: Upload plugin
run: |
cd target/${{ matrix.platform.target }}/release
memflowup --skip-version-check push --token ${{ secrets.MEMFLOW_REGISTRY_TOKEN }} --priv-key ec-secp256k1-priv-key.pem $(find . -maxdepth 1 -name '*.so' -o -name '*.dll' -o -name '*.dylib')
if [[ "${{ matrix.platform.os }}" == "windows-latest" ]]; then
memflowup --skip-version-check push --token ${{ secrets.MEMFLOW_REGISTRY_TOKEN }} --priv-key ec-secp256k1-priv-key.pem target/${{ matrix.platform.target }}/release/*.dll
elif [[ "${{ matrix.platform.os }}" == "macOS-latest" ]]; then
memflowup --skip-version-check push --token ${{ secrets.MEMFLOW_REGISTRY_TOKEN }} --priv-key ec-secp256k1-priv-key.pem target/${{ matrix.platform.target }}/release/*.dylib
else
memflowup --skip-version-check push --token ${{ secrets.MEMFLOW_REGISTRY_TOKEN }} --priv-key ec-secp256k1-priv-key.pem target/${{ matrix.platform.target }}/release/*.so
fi

0 comments on commit 3aa7fa4

Please sign in to comment.