改改 workflows

This commit is contained in:
zhiyi
2024-10-03 17:19:33 +08:00
parent 555acef5c1
commit 48aa309ec3
2 changed files with 4 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ jobs:
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
- name: Get commit count for today
- name: Generate Release Name
id: commit_count
env:
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
@@ -49,11 +49,7 @@ jobs:
with:
tag_name: "${{ env.RELEASE_NAME }}"
name: "${{ env.RELEASE_NAME }}"
body: "Automatically generated release for pac file update"
body: "$(git log -1 --pretty=%B)"
draft: false
prerelease: false
files: gfw.pac
- name: Verify Release
run: |
echo "Release created with name ${{ env.RELEASE_NAME }}"
files: gfw.pac