Skip to content

Commit

Permalink
chore: 移除PR时的生产Artifact存档步骤
Browse files Browse the repository at this point in the history
在GitHub工作流的配置中,去除了在pull_request事件触发时,上传android/app/build/outputs/**/*.apk为生产Artifact的步骤。这样做的目的是简化工作流,只在push事件时执行Automatic Releases相关的操作。

相关配置文件:.github/workflows/release.yml
  • Loading branch information
thoulee21 committed Jul 28, 2024
1 parent a05b978 commit 874f045
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ jobs:
chmod +x ./android/gradlew
yarn build:android
- name: Archive Production Artifact
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: app-release
path: android/app/build/outputs/**/*.apk

- name: Automatic Releases
if: github.event_name == 'push'
uses: marvinpinto/[email protected]
Expand Down

0 comments on commit 874f045

Please sign in to comment.