-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,33 @@ jobs: | |
key: "package.version" | ||
value: "${{ steps.get_version.outputs.VERSION }}" | ||
|
||
- name: Set the version for redismodule-rs-macros-internals | ||
uses: ciiiii/[email protected] | ||
with: | ||
file: "Cargo.toml" | ||
key: "dependencies.redis-module-macros-internals" | ||
value: '{ path = "./redismodule-rs-macros-internals", version = "${{ steps.get_version.outputs.VERSION }}" }' | ||
|
||
- name: Set the version for publishing on macros crate | ||
uses: ciiiii/[email protected] | ||
with: | ||
file: "redismodule-rs-macros/Cargo.toml" | ||
key: "package.version" | ||
value: "${{ steps.get_version.outputs.VERSION }}" | ||
|
||
- name: Set the version for publishing on internal macros crate | ||
uses: ciiiii/[email protected] | ||
with: | ||
file: "redismodule-rs-macros-internals/Cargo.toml" | ||
key: "package.version" | ||
value: "${{ steps.get_version.outputs.VERSION }}" | ||
|
||
- name: Publishing redismodule-rs-macros-internals | ||
uses: katyo/publish-crates@v1 | ||
with: | ||
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
path: './redismodule-rs-macros-internals' | ||
args: --allow-dirty | ||
|
||
- name: Publishing redismodule-rs | ||
uses: katyo/publish-crates@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters