Skip to content

Commit

Permalink
Fixed build with relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Luijken committed Jul 19, 2024
1 parent ebaa034 commit 5d593fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cargo-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
useConfigFile: true
- name: "Overwrite version numbers"
run: |
awk 'NR==1,/version = "0.1.0"/{sub(/version = "0.1.0"/, "version = \"'$GitVersion_SemVer'\"")} 1' stellar_rust_sdk_derive/Cargo.toml > stellar_rust_sdk_derive/Cargo.tmp && mv stellar_rust_sdk_derive/Cargo.tmp stellar_rust_sdk_derive/Cargo.toml
awk 'NR==1,/version = "0.1.0"/{sub(/version = "0.1.0"/, "version = \"'$GitVersion_SemVer'\"")} 1' stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.toml > stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.tmp && mv stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.tmp stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.toml
awk 'NR==1,/version = "0.1.0"/{sub(/version = "0.1.0"/, "version = \"'$GitVersion_SemVer'\"")} 1' stellar_rust_sdk/Cargo.toml > stellar_rust_sdk/Cargo.tmp && mv stellar_rust_sdk/Cargo.tmp stellar_rust_sdk/Cargo.toml
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down

0 comments on commit 5d593fa

Please sign in to comment.