Skip to content

Commit

Permalink
chore: optimize ci (#2698)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteZhang1024 committed Mar 13, 2023
1 parent b9c3f45 commit 94eefac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-desktop-winms.yml
@@ -1,4 +1,4 @@
name: release-desktop
name: release-desktop-winms

on:
workflow_run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-desktop.yml
Expand Up @@ -164,7 +164,7 @@ jobs:
!./packages/desktop/build-electron/builder-debug.yml
- name: Upload Artifacts to Snap Linux
if: ${{ (github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/onekey') }}
if: ${{ github.event.workflow_run }}
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
run: |
Expand Down

0 comments on commit 94eefac

Please sign in to comment.