Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.0.0 of all packages were not published because the workflow fails #1057

Closed
josecelano opened this issue Oct 3, 2024 · 1 comment · Fixed by #1058
Closed

Version 3.0.0 of all packages were not published because the workflow fails #1057

josecelano opened this issue Oct 3, 2024 · 1 comment · Fixed by #1058
Assignees
Labels
Build | Project System Compiling and Packaging

Comments

@josecelano
Copy link
Member

https://github.com/torrust/torrust-tracker/actions/runs/11144837601

image

@josecelano josecelano self-assigned this Oct 3, 2024
@josecelano josecelano added the Build | Project System Compiling and Packaging label Oct 3, 2024
@josecelano
Copy link
Member Author

josecelano commented Oct 3, 2024

There is a missing strategy in the publish job:

strategy:
  matrix:
    toolchain: [nightly, stable]

We should use stable as @da2ce7 pointed out:

  publish:
    name: Publish
    environment: deployment
    needs: test
    runs-on: ubuntu-latest

    steps:
      - id: checkout
        name: Checkout Repository
        uses: actions/checkout@v4

      - id: setup
        name: Setup Toolchain
        uses: dtolnay/rust-toolchain@stable
        with:
          toolchain: stable

      - id: publish
        name: Publish Crates
        env:
          CARGO_REGISTRY_TOKEN: "${{ secrets.TORRUST_UPDATE_CARGO_REGISTRY_TOKEN }}"
        run: |
          cargo publish -p torrust-tracker-contrib-bencode
          cargo publish -p torrust-tracker-located-error
          cargo publish -p torrust-tracker-primitives
          cargo publish -p torrust-tracker-clock
          cargo publish -p torrust-tracker-configuration
          cargo publish -p torrust-tracker-torrent-repository
          cargo publish -p torrust-tracker-test-helpers
          cargo publish -p torrust-tracker

@josecelano josecelano linked a pull request Oct 3, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build | Project System Compiling and Packaging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant