hotfix for get version in action

This commit is contained in:
lloydzhou 2024-09-25 00:13:36 +08:00
parent 649c5be64e
commit 4c6a593ae3

View File

@ -20,7 +20,7 @@ jobs:
with:
node-version: 18
- name: get version
run: echo "PACKAGE_VERSION=$(node -p "require('./src-tauri/tauri.conf.json').package.version")" >> $GITHUB_ENV
run: echo "PACKAGE_VERSION=$(node -p "require('./src-tauri/tauri.conf.json').version")" >> $GITHUB_ENV
- name: create release
id: create-release
uses: actions/github-script@v6