diff --git a/.github/workflows/build-rhel7.yml b/.github/workflows/build-rhel7.yml index 9f6191e..0d7bc29 100644 --- a/.github/workflows/build-rhel7.yml +++ b/.github/workflows/build-rhel7.yml @@ -90,14 +90,15 @@ jobs: # working-directory: ${{steps.wdset.outputs.gh}}/build/daqingest/ - run: ls -l working-directory: ${{steps.wdset.outputs.gh}}/build/daqingest/target/release - - run: ./daqingest --version + - run: ./daqingest version working-directory: ${{steps.wdset.outputs.gh}}/build/daqingest/target/release - - run: echo "daqingest_version=$(./daqingest --version)" >> "$GITHUB_OUTPUT" + - run: echo "daqingest_version=$(./daqingest version)" >> "$GITHUB_OUTPUT" id: daqingest_version_set working-directory: ${{steps.wdset.outputs.gh}}/build/daqingest/target/release - # - run: echo "daqingest_version=0.0.0-dummy.0" >> "$GITHUB_OUTPUT" + # - run: echo "daqingest_version=0.0.0-alpha.00" >> "$GITHUB_OUTPUT" # id: daqingest_version_set # working-directory: ${{steps.wdset.outputs.gh}}/build/daqingest/target/release + - run: "echo 'version: [${{steps.daqingest_version_set.outputs.daqingest_version}}]'" - uses: actions/upload-artifact@v3 with: name: daqingest-${{steps.daqingest_version_set.outputs.daqingest_version}} diff --git a/daqingest/Cargo.toml b/daqingest/Cargo.toml index af436b1..ffcd9ec 100644 --- a/daqingest/Cargo.toml +++ b/daqingest/Cargo.toml @@ -10,7 +10,7 @@ default = [] bsread = [] [dependencies] -clap = { version = "4.3.24", features = ["derive", "cargo"] } +clap = { version = "4.4.2", features = ["derive", "cargo"] } tracing = "0.1" serde = { version = "1.0", features = ["derive"] } tokio-postgres = "0.7.9"