Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
修复工作流
  • Loading branch information
1474443844 authored Dec 11, 2024
1 parent f36c524 commit c2dafc7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,13 @@ jobs:

- name: Build with Gradle
run: ./gradlew assembleRelease

- name: Get unique tag
run: |
TAG="release-$(date "+%Y%m%d%H%M%S")"
echo "C_TAG=$TAG" >> $GITHUB_ENV

- name: Upload APK to GitHub Release
if: success() # Only proceed if the build is successful
id: create_release
uses: actions/[email protected]
with:
tag_name: v0.0.3-preview_${{ GITHUB_ENV.C_TAG }} # You can change this to use a version number from your Gradle file
tag_name: v0.0.3-preview_${{ github.run_number }} # You can change this to use a version number from your Gradle file
release_name: "v0.0.3-preview"
body: "重构歌曲播放逻辑, 交互更加丝滑"
draft: false
Expand Down

0 comments on commit c2dafc7

Please sign in to comment.