diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a168e79..55a62a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt + - name: Get package version + run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV + - name: Build uses: Nuitka/Nuitka-Action@main with: @@ -44,9 +47,6 @@ jobs: windows-file-description: 一个Steam仓库清单下载器 output-file: Onekey---v${{ env.PACKAGE_VERSION }}.exe - - name: Get package version - run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV - - name: Create git tag uses: pkgdeps/git-tag-action@v3 with: