diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5e7879a6..bcfb1f0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,32 +10,10 @@ jobs: # Don't publish alpha releases # if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') runs-on: ubuntu-latest - strategy: - matrix: - package: - [ - xvc-logging, - xvc-test-helper, - xvc-walker, - xvc-ecs, - xvc-config, - xvc-core, - xvc-storage, - xvc-file, - xvc-pipelines, - xvc, - ] - steps: - name: Checkout code uses: actions/checkout@v2 - - - name: Set up Rust - uses: actions-rs/toolchain@v1 + - name: publish crates workspace + uses: jio-gl/publish-crates-workspace@v4 with: - toolchain: stable - - - name: Publish to crates.io - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - run: cargo publish -p ${{ matrix.package }} + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}