Skip to content

Commit c283608

Browse files
limichangelimichange
authored andcommitted
feat: test ci
1 parent bb184a3 commit c283608

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

.github/workflows/release-desktop-mas.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: release-desktop-mas
22

33
on:
4+
pull_request:
5+
branches:
6+
- feat/prime-login0-limi
7+
push:
8+
branches:
9+
- feat/prime-login0-limi
410
workflow_run:
511
workflows:
612
- daily-build
@@ -22,10 +28,10 @@ jobs:
2228
with:
2329
lfs: true
2430

25-
- name: Run Shared Env Setup
31+
- name: Run Shared Env Setup
2632
uses: ./.github/actions/shared-env
2733
with:
28-
env_file_name: ".env"
34+
env_file_name: '.env'
2935
sentry_project: 'desktop-mas'
3036
covalent_key: ${{ secrets.COVALENT_KEY }}
3137
sentry_token: ${{ secrets.SENTRY_TOKEN }}
@@ -157,15 +163,15 @@ jobs:
157163
run: |
158164
xcrun altool --upload-app --f ./apps/desktop/build-electron/mas-universal/*.pkg -t macOS -u $APPLEID -p $APPLEIDPASS --show-progress
159165
160-
- name: 'Notify to Slack'
161-
if: ${{ github.event.workflow_run }}
162-
uses: onekeyhq/actions/slack-notify-webhook@main
163-
with:
164-
web-hook-url: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
165-
secret-key: ${{ secrets.ACTION_SIGN_SECERT_KEY }}
166-
artifact-type: Desktop
167-
artifact-name: OneKey-Desktop-MAS
168-
artifact-bundle-id: 'so.onekey.wallet'
169-
artifact-version-name: '${{ steps.dotenv.outputs.version }}@${{ env.BUILD_NUMBER }}'
170-
artifact-version-code: '${{ env.BUILD_NUMBER }}'
171-
artifact-download-url: '${{ env.ARTIFACTS_URL }}'
166+
# - name: 'Notify to Slack'
167+
# if: ${{ github.event.workflow_run }}
168+
# uses: onekeyhq/actions/slack-notify-webhook@main
169+
# with:
170+
# web-hook-url: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
171+
# secret-key: ${{ secrets.ACTION_SIGN_SECERT_KEY }}
172+
# artifact-type: Desktop
173+
# artifact-name: OneKey-Desktop-MAS
174+
# artifact-bundle-id: 'so.onekey.wallet'
175+
# artifact-version-name: '${{ steps.dotenv.outputs.version }}@${{ env.BUILD_NUMBER }}'
176+
# artifact-version-code: '${{ env.BUILD_NUMBER }}'
177+
# artifact-download-url: '${{ env.ARTIFACTS_URL }}'

0 commit comments

Comments
 (0)