Fix various missing workflow parts
This commit is contained in:
parent
3779931552
commit
b7c355bd57
|
@ -26,6 +26,14 @@ jobs:
|
||||||
toolchain: 1.39.0
|
toolchain: 1.39.0
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
default: true
|
||||||
|
- name: Build generated code
|
||||||
|
working-directory: ./gen
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
node node_modules/ts-node/dist/bin.js attrs.ts
|
||||||
|
node node_modules/ts-node/dist/bin.js dfa.ts
|
||||||
|
node node_modules/ts-node/dist/bin.js entities.ts
|
||||||
|
node node_modules/ts-node/dist/bin.js patterns.ts
|
||||||
- name: Set up Node.js module
|
- name: Set up Node.js module
|
||||||
working-directory: ./nodejs
|
working-directory: ./nodejs
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
|
@ -100,6 +100,6 @@ jobs:
|
||||||
</profiles>
|
</profiles>
|
||||||
</settings>
|
</settings>
|
||||||
EOF
|
EOF
|
||||||
if [[ "$GITHUB_REF" != refs/tags/v* ]]; then
|
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
|
||||||
mvn clean deploy
|
mvn clean deploy
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -6,5 +6,5 @@ authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hyperbuild = { path = ".." }
|
hyperbuild = "0.1.2"
|
||||||
structopt = "0.3.5"
|
structopt = "0.3.5"
|
||||||
|
|
2
version
2
version
|
@ -74,7 +74,7 @@ for (const f of ['python/setup.py']) {
|
||||||
replaceInFile(f, /^(\s*version=)"\d+\.\d+\.\d+",\s*$/m, `$1"${NEW_VERSION}",`);
|
replaceInFile(f, /^(\s*version=)"\d+\.\d+\.\d+",\s*$/m, `$1"${NEW_VERSION}",`);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const f of ['README.md', 'nodejs/native/Cargo.toml', 'java/Cargo.toml', 'python/Cargo.toml', 'ruby/Cargo.toml']) {
|
for (const f of ['README.md', 'cli/Cargo.toml', 'nodejs/native/Cargo.toml', 'java/Cargo.toml', 'python/Cargo.toml', 'ruby/Cargo.toml']) {
|
||||||
replaceInFile(f, /^hyperbuild = "\d+\.\d+\.\d+"\s*$/m, `hyperbuild = "${NEW_VERSION}"`);
|
replaceInFile(f, /^hyperbuild = "\d+\.\d+\.\d+"\s*$/m, `hyperbuild = "${NEW_VERSION}"`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue