Skip to content

Commit

Permalink
Updated pipeline with independent steps per os
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1N committed Mar 28, 2024
1 parent 3aa7fa4 commit cf36316
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ jobs:
- name: Install memflowup
run: cargo install --git https://github.com/memflow/memflowup
- run: echo "${{ secrets.MEMFLOW_REGISTRY_SIGNING_KEY}}" > ec-secp256k1-priv-key.pem
- name: Upload plugin
run: |
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
- name: Upload plugin (linux)
run: memflowup --skip-version-check push --token ${{ secrets.MEMFLOW_REGISTRY_TOKEN }} --priv-key ec-secp256k1-priv-key.pem target/${{ matrix.platform.target }}/release/*.so
if: matrix.platform.os == 'ubuntu-20.04'
- name: Upload plugin (windows)
run: memflowup --skip-version-check push --token ${{ secrets.MEMFLOW_REGISTRY_TOKEN }} --priv-key ec-secp256k1-priv-key.pem target/${{ matrix.platform.target }}/release/*.dll
if: matrix.platform.os == 'windows-latest'
- name: Upload plugin (mac)
run: memflowup --skip-version-check push --token ${{ secrets.MEMFLOW_REGISTRY_TOKEN }} --priv-key ec-secp256k1-priv-key.pem target/${{ matrix.platform.target }}/release/*.dylib
if: matrix.platform.os == 'macOS-latest'

0 comments on commit cf36316

Please sign in to comment.