Skip to content

Commit

Permalink
Skip wallet artifact upload for rust changes (MystenLabs#5110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten authored Oct 11, 2022
1 parent a9cbe6e commit d3478a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/wallet-ext-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
isWalletExt: ${{ contains(fromJson(steps.pnpm.outputs.packages), 'sui-wallet') || steps.diff.outputs.isRust }}
isSrcChange: ${{ contains(fromJson(steps.pnpm.outputs.packages), 'sui-wallet') }}
steps:
- uses: actions/checkout@v3
- name: Detect Changes (pnpm)
Expand Down Expand Up @@ -41,6 +42,7 @@ jobs:
- name: Package
run: pnpm wallet pack:zip
- uses: actions/upload-artifact@v3
if: ${{ needs.diff.outputs.isSrcChange == 'true' }}
with:
name: wallet-extension
path: apps/wallet/web-ext-artifacts/*
Expand Down

0 comments on commit d3478a7

Please sign in to comment.