Skip to content

Commit 368ffdb

Browse files
committed
Fix release workflow
We temporarily need to add the `--cfg tokio_unstable` flag. Once we release the scheduler for Linux, this won't be needed anymore in the release script. Instead of building the scheduler there to query the version, we will use the already built binary.
1 parent 55c7846 commit 368ffdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: "Compute release tag"
3838
id: compute-tag
3939
run: |
40-
version="$(cargo run --bin robotmk_scheduler -- --version | cut --delimiter " " --fields 2)"
40+
version="$(RUSTFLAGS="--cfg tokio_unstable" cargo run --bin robotmk_scheduler -- --version | cut --delimiter " " --fields 2)"
4141
echo "TAG=v${version}" >> "${GITHUB_OUTPUT}"
4242
4343
- name: "Push release tag"

0 commit comments

Comments
 (0)