Skip to content

Commit

Permalink
fix(ci): use dev commit hash when schedule dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Dec 26, 2023
1 parent ffe2bde commit 50c777b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/update-tag@v1.0.11
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
Expand Down

0 comments on commit 50c777b

Please sign in to comment.