-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|