diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 059b17a..cd0f469 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,8 @@ name: Release on: - #push: - # tags: - # - "v*" - workflow_dispatch: {} + push: + tags: + - "v*" jobs: cargo_publish: @@ -26,6 +25,12 @@ jobs: command: install args: cargo-workspaces + - name: Publish to Crates.io + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + run: | + cargo workspaces publish --from-git + github_release: name: Create GitHub Release needs: [cargo_publish]