update build.yml

pull/28/head
fengyuecanzhu 3 years ago
parent eee08f71f1
commit 58e5b5470f
No known key found for this signature in database
GPG Key ID: 04B78AD06A9D6E6C
  1. 4
      .github/workflows/build.yml

@ -69,7 +69,7 @@ jobs:
tag_name=${{ steps.config.outputs.version_name }}-$gitHead tag_name=${{ steps.config.outputs.version_name }}-$gitHead
fi fi
python3 $GITHUB_WORKSPACE/keystore/scripts/lzy.py "${{ steps.get_path.outputs.file_path }}" "${{ steps.config.outputs.lanzou_folder_id }}" "$tag_name" python3 $GITHUB_WORKSPACE/keystore/scripts/lzy.py "${{ steps.get_path.outputs.file_path }}" "${{ steps.config.outputs.lanzou_folder_id }}" "$tag_name"
echo "[$(date -u -d '+8 hour' '+%Y.%m.%d %H:%M:%S')] 分享链接: ${{ steps.config.outputs.lanzou_share_url }}" # 发布正式版
- name: Release - name: Release
if: ${{ steps.config.outputs.need_create_release == 'true' && github.ref == 'refs/heads/master' }} if: ${{ steps.config.outputs.need_create_release == 'true' && github.ref == 'refs/heads/master' }}
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
@ -87,7 +87,7 @@ jobs:
${{ steps.get_path.outputs.file_path }}/风月读书${{ steps.config.outputs.version_name }}-universal.apk ${{ steps.get_path.outputs.file_path }}/风月读书${{ steps.config.outputs.version_name }}-universal.apk
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# 上传Artifact
- name: Upload Artifact arm64-v8a - name: Upload Artifact arm64-v8a
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

Loading…
Cancel
Save