diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e48147d..4842e3a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -323,21 +323,21 @@ jobs: tags: deepu105/kdash:latest, deepu105/kdash:${{ env.RELEASE_VERSION }} push: true -# publish-cargo: -# name: Publishing to Cargo -# needs: [build-release-artifacts] -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v2 -# - uses: actions-rs/toolchain@v1 -# with: -# toolchain: stable -# override: true -# profile: minimal # minimal component installation (ie, no documentation) -# - run: | -# sudo apt-get update -# sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev -# - uses: actions-rs/cargo@v1 -# with: -# command: publish -# args: --token ${{ secrets.CARGO_API_KEY }} --allow-dirty \ No newline at end of file + publish-cargo: + name: Publishing to Cargo + needs: [build-release-artifacts] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + profile: minimal # minimal component installation (ie, no documentation) + - run: | + sudo apt-get update + sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev + - uses: actions-rs/cargo@v1 + with: + command: publish + args: --token ${{ secrets.CARGO_API_KEY }} --allow-dirty \ No newline at end of file