mirror of
https://github.com/ikunshare/Onekey.git
synced 2026-01-15 09:33:06 +08:00
Update build.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -12,9 +12,9 @@ jobs:
|
||||
- name: Check out git repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Push tag to GitHub if package.json version's tag is not tagged
|
||||
- name: Get package version
|
||||
run: |
|
||||
node -p "process.env.PACKAGE_VERSION = require('./package.json').version" >> $GITHUB_ENV
|
||||
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
|
||||
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v3
|
||||
|
||||
Reference in New Issue
Block a user