整理:将构建文件统一输出到项目根目录下的 build 文件夹
This commit is contained in:
parent
1e1dd8e3fd
commit
ffc022e0a8
|
@ -47,16 +47,10 @@ jobs:
|
|||
release_name: SmsForwarder ${{ github.ref }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
# 存档打包的文件
|
||||
# - name: Archive production artifacts
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: build
|
||||
# path: app/build/outputs #将打包之后的文件全部上传(里面会有混淆的map文件)
|
||||
# 上传至release的资源
|
||||
- name: Upload release binaries
|
||||
uses: alexellis/upload-assets@0.2.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
asset_paths: '["./app/build/outputs/apk/release/SmsForwarder_release_*"]'
|
||||
asset_paths: '["./build/outputs/apk/release/SmsForwarder_release_*"]'
|
||||
|
|
|
@ -46,5 +46,5 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: SmsForwarder Weekly Build
|
||||
path: app/build/outputs/apk/release/*.apk
|
||||
path: build/outputs/apk/release/*.apk
|
||||
if-no-files-found: error
|
||||
|
|
Loading…
Reference in New Issue