mirror of
https://github.com/ZCShou/GoGoGo.git
synced 2026-06-05 21:00:50 +08:00
ci: fix can not upload artifact
This commit is contained in:
parent
3c31485460
commit
a190415148
8
.github/workflows/build-release.yml
vendored
8
.github/workflows/build-release.yml
vendored
@ -60,10 +60,16 @@ jobs:
|
||||
env:
|
||||
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
|
||||
|
||||
- name: Get Signed APK Name
|
||||
run: |
|
||||
FULL_PATH=${{steps.sign_apk.outputs.signedReleaseFile}}
|
||||
FILENAME=$(basename "$FULL_PATH")
|
||||
echo "FILENAME=${FILENAME}" >> $GITHUB_ENV # 存储到环境变量
|
||||
|
||||
- name: Upload APK
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{steps.sign_apk.outputs.signedReleaseFile}}
|
||||
name: ${{ env.FILENAME }}
|
||||
path: ${{steps.sign_apk.outputs.signedReleaseFile}}
|
||||
|
||||
# https://github.com/marketplace/actions/auto-changelog
|
||||
|
||||
Loading…
Reference in New Issue
Block a user