Merge pull request #8 from nishizhen/fix/add-permissions-to-workflow

fix: Add permissions to release workflow
This commit is contained in:
nishizhen 2025-08-15 22:31:56 +08:00 committed by GitHub
commit 7ded6680d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ jobs:
- name: Get version
id: get_version
run: |
VERSION=$(grep -o '"version": "[^"]*' version.json | grep -o '[^"]*$')
VERSION=$(grep -oP '(?<="version": ")[^"]*' version.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build release package