mirror of
https://github.com/fluencelabs/aqua-ipfs
synced 2025-04-25 07:52:13 +00:00
fix(ci): set cargo and npm (#51)
This commit is contained in:
parent
dbfc07b01a
commit
aa934f2973
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -55,10 +55,26 @@ jobs:
|
|||||||
version="$(jq -r '.[]' .github/release-please/manifest.json)"
|
version="$(jq -r '.[]' .github/release-please/manifest.json)"
|
||||||
echo "version=${version}" >> $GITHUB_OUTPUT
|
echo "version=${version}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Setup Rust toolchain
|
||||||
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
|
||||||
|
- name: Install cargo-edit
|
||||||
|
uses: baptiste0928/cargo-install@v1.3.0
|
||||||
|
with:
|
||||||
|
crate: cargo-edit
|
||||||
|
|
||||||
- name: Set version in service
|
- name: Set version in service
|
||||||
working-directory: service
|
working-directory: service
|
||||||
run: cargo set-version ${{ steps.version.outputs.version }}
|
run: cargo set-version ${{ steps.version.outputs.version }}
|
||||||
|
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16"
|
||||||
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
cache-dependency-path: "aqua/package-lock.json"
|
||||||
|
cache: "npm"
|
||||||
|
|
||||||
- name: Set version in aqua
|
- name: Set version in aqua
|
||||||
working-directory: aqua
|
working-directory: aqua
|
||||||
run: npm version ${{ steps.version.outputs.version }}
|
run: npm version ${{ steps.version.outputs.version }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user