-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): use dev commit hash when schedule dispatch
- Loading branch information
1 parent
ffe2bde
commit 50c777b
Showing
1 changed file
with
2 additions
and
0 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 |
---|---|---|
|
@@ -159,13 +159,15 @@ jobs: | |
- name: Set Env | ||
run: | | ||
echo "BUILDTIME=$(TZ=Asia/Shanghai date)" >> $GITHUB_ENV | ||
echo "CURRENT_GIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV | ||
shell: bash | ||
- name: Update Tag | ||
uses: richardsimko/[email protected] | ||
with: | ||
tag_name: pre-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_SHA: ${{ env.CURRENT_GIT_SHA }} | ||
- run: | | ||
cat > release.txt << 'EOF' | ||
## Clash Nyanpasu Nightly Build | ||
|